aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/trap.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/trap.fish')
-rw-r--r--share/completions/trap.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/completions/trap.fish b/share/completions/trap.fish
new file mode 100644
index 00000000..5cdd0a5f
--- /dev/null
+++ b/share/completions/trap.fish
@@ -0,0 +1,4 @@
+
+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')