diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-12-25 22:37:22 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-12-25 22:37:22 -0700 |
commit | 7b6d67e9ab67ea8d73b6d040bfac47413b4b0b82 (patch) | |
tree | f5fcb4bf7fd62dc8e84e2754c0fc1d929e2dff8e /.shenv | |
parent | 526507091a161ce3fc45bb5ba97696de029b39f5 (diff) | |
download | dotfiles-7b6d67e9ab67ea8d73b6d040bfac47413b4b0b82.tar.gz |
suppress 'command -v' output
Diffstat (limited to '.shenv')
-rwxr-xr-x | .shenv | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |