about summary refs log tree commit diff
path: root/Completion/Zsh/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r--Completion/Zsh/Command/_trap10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_trap b/Completion/Zsh/Command/_trap
new file mode 100644
index 000000000..0fc9ec2e4
--- /dev/null
+++ b/Completion/Zsh/Command/_trap
@@ -0,0 +1,10 @@
+#compdef trap
+
+local expl
+
+if [[ CURRENT -eq 2 ]]; then
+  compset -q
+  _normal
+else
+  _signals -a
+fi