mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00:00
abbr completions: Describe abbreviations with what they abbreviate
i.e. "abbr -e <TAB>" will list am (alsamixer)
This commit is contained in:
parent
938da3039d
commit
db5c02fbfc
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
complete -c abbr -f -s a -l add -d 'Add abbreviation'
|
||||
complete -c abbr -s e -l erase -d 'Erase abbreviation' -xa '(abbr -l)'
|
||||
complete -c abbr -s e -l erase -d 'Erase abbreviation' -xa '(abbr -s | cut -d" " -f 2- | sed -e "s/ / /")'
|
||||
complete -c abbr -f -s s -l show -d 'Print all abbreviations'
|
||||
complete -c abbr -f -s l -l list -d 'Print all abbreviation names'
|
||||
complete -c abbr -f -s h -l help -d 'Help'
|
||||
|
|
Loading…
Reference in a new issue