summaryrefslogtreecommitdiff
path: root/emacs-helm.sh
diff options
context:
space:
mode:
authorMichael Heerdegen <michael_heerdegen@web.de>2013-11-22 06:05:16 +0100
committerMichael Heerdegen <michael_heerdegen@web.de>2013-11-22 06:05:16 +0100
commit79161f4319e7fdfa3672be57396196951f40f85b (patch)
treed32720e83ee827319dbecd7d8f7490edcea795a1 /emacs-helm.sh
parent15058524613ee929a4c4afc0a3a4299c11bb2bb4 (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-xemacs-helm.sh2
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