diff options
Diffstat (limited to 'Completion/User/_rcs')
-rw-r--r-- | Completion/User/_rcs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/User/_rcs b/Completion/User/_rcs index af66739cb..272e54681 100644 --- a/Completion/User/_rcs +++ b/Completion/User/_rcs @@ -5,8 +5,9 @@ local nm=$compstate[nmatches] [[ $words[1] = ci || $words[1] = rcs ]] && _files if [[ $compstate[nmatches] -eq nm && -d RCS && $words[1] != ci ]]; then - local rep + local rep expl rep=(RCS/$PREFIX*$SUFFIX,v(:t:s/\,v//)) - (( $#rep )) && compadd - $rep + _description expl 'RCS file' + (( $#rep )) && compadd "$expl[@]" - $rep fi |