Make v alias = vim in ssh sessions

This commit is contained in:
Henrik Lissner 2013-03-23 02:44:53 -04:00
parent de7ab87e91
commit 9c3d42a519

View file

@ -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'