fish-shell/share/completions/function.fish
axel c2f6c6c1d2 Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00

8 lines
680 B
Fish

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