completions: Quote some tests

This commit is contained in:
Fabian Boehm 2023-02-10 20:47:49 +01:00
parent 6fe4b0c24d
commit cac483c67a
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,6 @@
# kmutil <clear-staging|trigger-panic-medic>
# kmutil -h
if test (command -v kmutil) = /usr/bin/kmutil
if test "$(command -s kmutil)" = /usr/bin/kmutil
command kmutil --generate-completion-script=fish | source
end

View file

@ -5,7 +5,7 @@
# imagine my surprise when I found fish function stirngs in binaries in /usr/bin!
# checking the path is as expected is about as far as we're going with validation
if test (command -v shortcuts) = /usr/bin/shortcuts
if test "$(command -s shortcuts)" = /usr/bin/shortcuts
command shortcuts --generate-completion-script=fish | source
end