summaryrefslogtreecommitdiff
path: root/.shenv
diff options
context:
space:
mode:
Diffstat (limited to '.shenv')
-rwxr-xr-x.shenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/.shenv b/.shenv
index 280e8c5e..6b32cb01 100755
--- a/.shenv
+++ b/.shenv
@@ -5,8 +5,8 @@
# ---- choose editor depending on what's available
-emacsclient=$(which emacsclient)
-mg=$(which mg)
+emacsclient=$(which emacsclient 2>/dev/null)
+mg=$(which mg 2>/dev/null)
# best case: emacsclient and mg available
if [ -x "$emacsclient" -a -x "$mg" ]; then
EDITOR="emacsclient -amg -t"