mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 00:04:31 +08:00
68527ff20c
This ends up saving a surprising number of bytes.
11 lines
740 B
Fish
11 lines
740 B
Fish
complete -c functions -s e -l erase -d "Erase function" -x -a "(functions -n)"
|
|
complete -c functions -xa "(functions -na)" -d "Function"
|
|
complete -c functions -s a -l all -d "Show hidden functions"
|
|
complete -c functions -s h -l help -d "Display help and exit"
|
|
complete -c functions -s d -l description -d "Set function description" -x
|
|
complete -c functions -s q -l query -d "Test if function is defined"
|
|
complete -c functions -s n -l names -d "List the names of the functions, but not their definition"
|
|
complete -c functions -s c -l copy -d "Copy the specified function to the specified new name"
|
|
complete -c functions -s D -l details -d "Display information about the function"
|
|
complete -c functions -s v -l verbose -d "Print more output"
|