summaryrefslogtreecommitdiffstats
path: root/Completion/User
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-11-06 17:26:39 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-11-06 17:26:39 +0000
commit551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c (patch)
tree926c099702cf44eea5e50076eff2baec09f86cf2 /Completion/User
parentAdapt nslookup for 13123. (diff)
downloadzsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.tar
zsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.tar.gz
zsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.tar.bz2
zsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.tar.lz
zsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.tar.xz
zsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.tar.zst
zsh-551fbeeab90505f0d2cafcf8c853ebc0f9e0dc0c.zip
Remove no-op test of $compstate[nmatches].
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_rcs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_rcs b/Completion/User/_rcs
index bbc8e02ac..1e0fa315a 100644
--- a/Completion/User/_rcs
+++ b/Completion/User/_rcs
@@ -1,8 +1,8 @@
#compdef co ci rcs
-local nm=$compstate[nmatches] cmd="${words[1]:t}" ret=1
+local cmd="${words[1]:t}" ret=1
-if [[ $compstate[nmatches] -eq nm && -d RCS && $cmd != ci ]]; then
+if [[ -d RCS && $cmd != ci ]]; then
local rep expl
rep=(RCS/*,v(:t:s/\,v//))