2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-16 06:54:03 +00:00
fish-shell/share/completions/trap.fish
2014-09-17 10:17:48 +08:00

5 lines
315 B
Fish

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