mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
{bash,zsh}rc: add quotes for
Fixes spaces in filenames
This commit is contained in:
parent
b3504a9fac
commit
f5c0e65c96
@ -824,12 +824,12 @@ ssh-verify-file() {
|
||||
if hash nvim 2>/dev/null; then
|
||||
vim() {
|
||||
echo 'using nvim instead'
|
||||
nvim $@
|
||||
nvim "$@"
|
||||
}
|
||||
else
|
||||
vim() {
|
||||
echo 'nvim not found'
|
||||
\vim $@
|
||||
\vim "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user