summaryrefslogtreecommitdiff
path: root/.shenv
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-04-22 18:01:08 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-04-22 18:01:08 +0900
commitd511a6bd39d41b7ddf2a8be82cacbcbd4a6b94ae (patch)
treefbdf4413f52931b49be30939bfa4f648df50260b /.shenv
parente431045b501596a0b741ba4faefb102e4e4419e4 (diff)
downloaddotfiles-d511a6bd39d41b7ddf2a8be82cacbcbd4a6b94ae.tar.gz
kill some which error output
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"