mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 01:31:36 +08:00
34e27ff4c2
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
9 lines
728 B
Fish
9 lines
728 B
Fish
complete -c function -s d -l description --description "Set function description" -x
|
|
complete -c function -xa "(functions -n)" --description "Function"
|
|
complete -c function -xa "(builtin -n)" --description "Builtin"
|
|
complete -c function -s j -l on-job-exit --description "Make the function a job exit event handler" -x
|
|
complete -c function -s p -l on-process-exit --description "Make the function a process exit event handler" -x
|
|
complete -c function -s s -l on-signal --description "Make the function a signal event handler" -x
|
|
complete -c function -s v -l on-variable --description "Make the function a variable update event handler" -x
|
|
complete -c function -s b -l key-binding --description "Allow dash (-) in function name"
|