Improving v alias.

This commit is contained in:
Faerbit 2015-11-17 12:23:53 +01:00
parent ed3854448f
commit 7420370db4

7
zshrc
View File

@ -45,7 +45,12 @@ alias poweroff='sudo poweroff'
alias reboot='sudo reboot'
alias n='ninja'
alias cmake='cmake -G Ninja'
alias v='vim'
if test -f $(which nvim)
then
alias v='nvim'
else
alias v='vim'
fi
if [ -f .zsh_environment ]
then
source ~/.zsh_environment