mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
9367d4ff71
This does not include checks/function.fish because that currently includes a "; end" in a message that indent would remove, breaking the test.
8 lines
442 B
Fish
8 lines
442 B
Fish
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
|
|
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
|