fish-shell/share/completions/return.fish

5 lines
216 B
Fish
Raw Normal View History

complete -c return -s h -l help -d "Display help and exit"
complete -c return -x -a 0 -d "Return from function with normal exit status"
complete -c return -x -a 1 -d "Return from function with abnormal exit status"