about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_trap
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:31:25 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:31:25 +0000
commitc95d0a8bdd3e21e4982367b854e3cc732a448f43 (patch)
tree0ec3b5ceb0a898af95c0e58bc9e208d37d08ba4a /Completion/Zsh/Command/_trap
parentd945d1d63048bb14609be70eda8646fb2b899628 (diff)
downloadzsh-c95d0a8bdd3e21e4982367b854e3cc732a448f43.tar.gz
zsh-c95d0a8bdd3e21e4982367b854e3cc732a448f43.tar.xz
zsh-c95d0a8bdd3e21e4982367b854e3cc732a448f43.zip
moved from Completion/Builtins/_trap
Diffstat (limited to 'Completion/Zsh/Command/_trap')
-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