fish-shell/init/completions/function.fish
axel 70351b0e4f Add missing completion for the -b switch for function builtin
darcs-hash:20060119150041-ac50b-a8d27c60747a47c63f3d89e6bb94b70b9f976ee1.gz
2006-01-20 01:00:41 +10:00

8 lines
672 B
Fish

complete -c function -s d -l description -d (_ "Set function description") -x
complete -c function -xa "(functions -n)" -d (_ "Function")
complete -c function -xa "(builtin -n)" -d (_ "Builtin")
complete -c function -s j -l on-job-exit -d (_ "Make the function a job exit event handler") -x
complete -c function -s p -l on-process-exit -d (_ "Make the function a process exit event handler") -x
complete -c function -s s -l on-signal -d (_ "Make the function a signal event handler") -x
complete -c function -s v -l on-variable -d (_ "Make the function a variable update event handler") -x
complete -c function -s b -l key-binding -d (_ "Allow dash (-) in function name")