{bash,zsh}rc: fix the vim alias again?
This commit is contained in:
parent
8dc98df80d
commit
890c3c8e43
|
@ -867,12 +867,12 @@ ssh-verify-file() {
|
|||
if hash nvim 2> /dev/null; then
|
||||
vim() {
|
||||
echo 'using nvim instead'
|
||||
\nvim "$@"
|
||||
/usr/bin/env nvim "$@"
|
||||
}
|
||||
else
|
||||
vim() {
|
||||
echo 'nvim not found'
|
||||
\vim "$@"
|
||||
/usr/bin/env vim "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue