summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rwxr-xr-xzshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index 9d1d52e..9cec11b 100755
--- a/zshrc
+++ b/zshrc
@@ -30,7 +30,9 @@ export WORDCHARS=''
setopt DVORAK
alias ls="ls --color"
-alias vi="gvim --remote"
+if which gvim >/dev/null;
+ alias vi="gvim --remote"
+fi
alias ff="fileutil --gfs_user=gfp-reporting"
alias diff=colordiff