summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 32a4f26..9da7384 100755
--- a/install
+++ b/install
@@ -50,7 +50,7 @@ then
 	install-dot projects/dwm/ $target/dwm/*
 fi
 
-if [[ -x =emacs ]]
+if [[ -z $commands[emacs] ]]
 then
 	emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/
 fi