2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-26 19:55:08 +00:00
fish-shell/share/completions/trap.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
271 B
Fish

complete -c trap -s l -l list-signals -d 'Display names of all signals'
complete -c trap -s p -l print -d 'Display all currently defined trap handlers'
complete -c trap -s h -l help -d 'Display help and exit'
complete -c trap -a '(trap -l | sed "s/ /\n/g")' -d 'Signal'