From dc27974950344a85a46310f7220da7b09032cd39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 28 Jul 2024 18:29:39 -0700 Subject: [PATCH] update fish completion --- contrib/completions/gt.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completions/gt.fish b/contrib/completions/gt.fish index 735afa5..abf8436 100644 --- a/contrib/completions/gt.fish +++ b/contrib/completions/gt.fish @@ -13,9 +13,10 @@ complete -c gt -F -n "not __fish_seen_subcommand_from $commands" -a "trash tr" - complete -c gt -f -n "not __fish_seen_subcommand_from $commands" -a "restore re" -d "restore files from trash" complete -c gt -f -n "not __fish_seen_subcommand_from $commands" -a "clean cl" -d "clean files from trash" -# flags +# global flags complete -c gt -n "not __fish_seen_subcommand_from $commands" -l help -s h -d "show help" complete -c gt -n "not __fish_seen_subcommand_from $commands" -l version -s v -d "show version" +complete -c gt -n "not __fish_seen_subcommand_from $commands" -l confirm -s c -d "ask for confirmation" complete -c gt -n "not __fish_seen_subcommand_from $commands" -l log -s l -d "log level" -fra (string join " " $log_levels) # everyone flags