mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-06 01:19:23 +01:00
{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
Block a user