mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
parent
a4c9b3a70d
commit
51141b9a2f
2 changed files with 9 additions and 0 deletions
|
@ -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 a new issue