mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +00:00
Ditch __fish_sgrep in obnam completions
This commit is contained in:
parent
60bd3c809a
commit
5446841069
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
|
||||
function nocommand
|
||||
if commandline | __fish_sgrep -qe "add-key\|backup\|client-keys\|clients\|diff\|dump-repo\|force-lock\|forget\|fsck\|generations\|genids\|list-keys\|list-toplevels\|ls\|mount\|nagios-last-backup-age\|remove-client\|remove-key\|restore\|verify"
|
||||
if __fish_seen_subcommand_from add-key backup client-keys clients diff \
|
||||
dump-repo force-lock forget fsck generations genids list-keys list-toplevels ls mount nagios-last-backup-age remove-client remove-key restore verify
|
||||
return 1
|
||||
end
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue