diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:31:25 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:31:25 +0000 |
commit | c95d0a8bdd3e21e4982367b854e3cc732a448f43 (patch) | |
tree | 0ec3b5ceb0a898af95c0e58bc9e208d37d08ba4a /Completion/Zsh/Command/_trap | |
parent | d945d1d63048bb14609be70eda8646fb2b899628 (diff) | |
download | zsh-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/_trap | 10 |
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 |