2007-01-16 01:18:28 +00:00
|
|
|
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
|
2012-06-16 00:30:10 +00:00
|
|
|
complete -c function -s e -l on-event --description "Make the function a generic event handler" -xa 'fish_prompt fish_command_not_found'
|
2007-04-21 08:09:31 +00:00
|
|
|
complete -c function -s a -l argument-names --description "Specify named arguments"
|
2007-04-23 22:01:48 +00:00
|
|
|
complete -c function -s S -l no-scope-shadowing --description "Do not shadow variable scope of calling function"
|
2014-09-17 02:17:48 +00:00
|
|
|
complete -c function -s w -l wraps --description "Inherit completions from the given command"
|