2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-15 13:38:38 +00:00
fish-shell/share/completions/abbr.fish

8 lines
442 B
Fish
Raw Normal View History

complete -c abbr -f -s a -l add -d 'Add abbreviation'
# Abbr keys can't contain spaces, so we can safely replace the first space with a tab
# `abbr -s` won't work here because that already escapes
2019-09-27 13:01:38 -07:00
complete -c abbr -s e -l erase -d 'Erase abbreviation' -xa '(abbr --list)'
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