summaryrefslogtreecommitdiff
path: root/.shenv
diff options
context:
space:
mode:
Diffstat (limited to '.shenv')
-rwxr-xr-x.shenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/.shenv b/.shenv
index 602bb4a5..73c18372 100755
--- a/.shenv
+++ b/.shenv
@@ -27,7 +27,7 @@ if [ -e "$HOME/src/emacs/admin/README.melete" \
EDITOR="$HOME/src/emacs/lib-src/emacsclient $ec_opt"
ALTERNATE_EDITOR=""
export ALTERNATE_EDITOR
-elif command -v emacsclient; then
+elif command -v emacsclient >/dev/null; then
EDITOR="emacsclient $ec_opt"
ALTERNATE_EDITOR=""
export ALTERNATE_EDITOR