From 2b3aac93bce9fa9282bb8cc65458f8d832188c34 Mon Sep 17 00:00:00 2001 From: lhark Date: Mon, 9 Nov 2015 14:57:47 +0100 Subject: [PATCH] Fix rc path for real --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index e437a7a..1fad252 100644 --- a/zshrc +++ b/zshrc @@ -14,7 +14,7 @@ export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin # Get rc dir path -RC_PATH=$(dirname "$(readlink -f $0)") +RC_PATH=$(dirname "$(readlink -f ${(%):-%x})") # Mise à jour automatique à partir du repo distant