mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-04 00:53:41 +08:00
22cb03c236
Before:
* hand write arg parse
* only accepts one suffix
After:
* use `arg_parse` to parse args
* accepts multi suffixes
Closes #9611.
(cherry picked from commit aa65856ee0
)
4 lines
132 B
Fish
4 lines
132 B
Fish
complete -c bzcat -k -x -a "(__fish_complete_suffix .tbz .tbz2 .bz .bz2)"
|
|
|
|
complete -c bzcat -s s -l small -d "Reduce memory usage"
|