mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-07 11:41:16 +02:00
moved from Completion/Builtins/_trap
This commit is contained in:
parent
d945d1d630
commit
c95d0a8bdd
1 changed files with 10 additions and 0 deletions
10
Completion/Zsh/Command/_trap
Normal file
10
Completion/Zsh/Command/_trap
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#compdef trap
|
||||||
|
|
||||||
|
local expl
|
||||||
|
|
||||||
|
if [[ CURRENT -eq 2 ]]; then
|
||||||
|
compset -q
|
||||||
|
_normal
|
||||||
|
else
|
||||||
|
_signals -a
|
||||||
|
fi
|
Loading…
Reference in a new issue