From 9c3d42a51961deff023f0c78be75e5178308708c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 23 Mar 2013 02:44:53 -0400 Subject: [PATCH] Make v alias = vim in ssh sessions --- zsh/aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/aliases b/zsh/aliases index 9107b6a4..7c506315 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -25,7 +25,7 @@ alias chmod='chmod --preserve-root' alias chgrp='chgrp --preserve-root' # vim -if command_exists mvim; then +if [[ -n $SSH_CLIENT ]]; then alias v='mvim' else alias v='vim'