summary refs log tree commit diff
path: root/Completion/Builtins/_trap
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_trap')
-rw-r--r--Completion/Builtins/_trap7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Builtins/_trap b/Completion/Builtins/_trap
new file mode 100644
index 000000000..59e81c589
--- /dev/null
+++ b/Completion/Builtins/_trap
@@ -0,0 +1,7 @@
+#defcomp trap
+
+if [[ -position 1 ]]; then
+  complist -c
+else
+  complist -k signals
+fi