mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
completions: Quote some tests
This commit is contained in:
parent
6fe4b0c24d
commit
cac483c67a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user