Quote more

This commit is contained in:
Kid 2022-01-17 07:54:29 +08:00 committed by GitHub
parent 9f35e3ef69
commit 462a55358c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,11 +11,11 @@ function _navi_smart_replace
end end
if test -z "$best_match" if test -z "$best_match"
commandline -p (navi --print --query $current_process) commandline -p (navi --print --query "$current_process")
else if test "$current_process" != "$best_match" else if test "$current_process" != "$best_match"
commandline -p $best_match commandline -p $best_match
else else
commandline -p (navi --print --query $current_process) commandline -p (navi --print --query "$current_process")
end end
end end