mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
parent
a4c9b3a70d
commit
51141b9a2f
|
@ -117,6 +117,7 @@ Completions
|
||||||
- ``loadkeys``
|
- ``loadkeys``
|
||||||
- ``toot``
|
- ``toot``
|
||||||
- ``eg``
|
- ``eg``
|
||||||
|
- ``kb``
|
||||||
|
|
||||||
- Improvements to some completions.
|
- Improvements to some completions.
|
||||||
|
|
||||||
|
|
8
share/completions/kb.fish
Normal file
8
share/completions/kb.fish
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Based on https://github.com/gnebbia/kb#usage
|
||||||
|
|
||||||
|
set -l commands add edit list view grep update delete template import export erase sync help
|
||||||
|
|
||||||
|
complete -c kb -s h -l help -d 'Show help and exit'
|
||||||
|
complete -c kb -l version -d 'Show version and exit'
|
||||||
|
|
||||||
|
complete -c kb -n "not __fish_seen_subcommand_from $commands" -a $commands
|
Loading…
Reference in New Issue
Block a user