mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-03 09:21:19 +02:00
moved to Completion/Unix/Command/_sh
This commit is contained in:
parent
66752b355d
commit
f1df529dc8
@ -1,13 +0,0 @@
|
||||
#compdef sh ksh bash zsh csh tcsh rc
|
||||
|
||||
if (( CURRENT == ${words[(i)-c]} + 1 )); then
|
||||
compset -q
|
||||
_normal
|
||||
else
|
||||
local n=${words[(b:2:i)[^-]*]}
|
||||
if (( n <= CURRENT )); then
|
||||
compset -n $n
|
||||
_normal && return 0
|
||||
fi
|
||||
_default
|
||||
fi
|
Loading…
Reference in New Issue
Block a user