fish-shell/share/completions/return.fish
Aaron Gyes 68527ff20c completions: --description -> -d
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00

5 lines
216 B
Fish

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"