{bash,zsh}rc: add quotes for

Fixes spaces in filenames
This commit is contained in:
Aminda Suomalainen 2024-03-20 06:39:15 +02:00
parent b3504a9fac
commit f5c0e65c96
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -809,12 +809,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