| 1 | set -l commands dismiss actions dismiss-with-default-action list pause unpause quit |
| 2 | |
| 3 | complete -c fnottctl |
| 4 | complete -c fnottctl -f |
| 5 | |
| 6 | complete -c fnottctl -s v -l version -d "show the version number and quit" |
| 7 | complete -c fnottctl -s h -l help -d "show help message and quit" |
| 8 | |
| 9 | complete -c fnottctl -n "not __fish_seen_subcommand_from $commands" -a "$commands" |
| 10 | complete -c fnottctl -n "__fish_seen_subcommand_from dismiss" -a "all (fnottctl list | cut -d ':' -f 1)" |
| 11 | complete -c fnottctl -n "__fish_seen_subcommand_from dismiss-with-default-action" -a "(fnottctl list | cut -d ':' -f 1)" |
| 12 | complete -c fnottctl -n "__fish_seen_subcommand_from actions" -a "(fnottctl list | cut -d ':' -f 1)" |