diff options
-rwxr-xr-x | hooks/post-up/emacs | 2 |
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 |