mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
completions: Quote some tests
This commit is contained in:
parent
6fe4b0c24d
commit
cac483c67a
2 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,6 @@
|
||||||
# kmutil <clear-staging|trigger-panic-medic>
|
# kmutil <clear-staging|trigger-panic-medic>
|
||||||
# kmutil -h
|
# 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
|
command kmutil --generate-completion-script=fish | source
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# imagine my surprise when I found fish function stirngs in binaries in /usr/bin!
|
# 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
|
# 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
|
command shortcuts --generate-completion-script=fish | source
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue