summary refs log tree commit diff stats
path: root/hooks/post-up
diff options
context:
space:
mode:
authorAlan Pearce2017-03-07 16:32:08 +0100
committerAlan Pearce2017-03-07 16:32:08 +0100
commit51eff2f0c46f9bbcb8a4ef02d434702d8f6c4053 (patch)
tree0b4be607cda5e381b3bdf04bb32b4dcd988b50dc /hooks/post-up
parentf4209abd072fe4a28ddc5656ae96d93b81f58057 (diff)
parentf0f628fc2c99ee387dc729c09ebde77dc6ec9644 (diff)
downloaddotfiles-51eff2f0c46f9bbcb8a4ef02d434702d8f6c4053.tar.lz
dotfiles-51eff2f0c46f9bbcb8a4ef02d434702d8f6c4053.tar.zst
dotfiles-51eff2f0c46f9bbcb8a4ef02d434702d8f6c4053.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'hooks/post-up')
-rwxr-xr-xhooks/post-up/emacs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs
index 53de6da..05a5c9d 100755
--- a/hooks/post-up/emacs
+++ b/hooks/post-up/emacs
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-EMACS_COMMAND=$(which Emacs || which emacs)
+EMACS_COMMAND=$(command -v Emacs || command -v emacs)
 
 if [[ -s $EMACS_COMMAND ]]
 then