Make v alias = vim in ssh sessions
This commit is contained in:
parent
de7ab87e91
commit
9c3d42a519
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue