fish-shell/init/completions/trap.fish

5 lines
222 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')