diff options
author | Michael Heerdegen <michael_heerdegen@web.de> | 2013-11-22 06:05:16 +0100 |
---|---|---|
committer | Michael Heerdegen <michael_heerdegen@web.de> | 2013-11-22 06:05:16 +0100 |
commit | 79161f4319e7fdfa3672be57396196951f40f85b (patch) | |
tree | d32720e83ee827319dbecd7d8f7490edcea795a1 /emacs-helm.sh | |
parent | 15058524613ee929a4c4afc0a3a4299c11bb2bb4 (diff) |
emacs-helm.sh: resolve symlinks to get correct helm directory
This makes symlinks to emacs-helm.sh DTRT when executed.
Diffstat (limited to 'emacs-helm.sh')
-rwxr-xr-x | emacs-helm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs-helm.sh b/emacs-helm.sh index 71361f06..b702a3e3 100755 --- a/emacs-helm.sh +++ b/emacs-helm.sh @@ -23,7 +23,7 @@ # Run it from this directory. TMP="/tmp/helm-cfg.el" -LOADPATH=`dirname $0` +LOADPATH=$(readlink -f $0 | xargs dirname) EMACS=emacs case $1 in |