[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-320-gf186fc0
Ville Skyttä
ville.skytta at iki.fi
Tue May 24 20:13:32 UTC 2011
The following commit has been merged in the master branch:
commit b6794fe66d86d1300abf8c18301d1404f8a81b1e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue May 24 20:22:23 2011 +0300
cvs commit: Complete on entries instead of default if COMP_CVS_REMOTE is not set.
diff --git a/completions/cvs b/completions/cvs
index ca47965..85b9467 100644
--- a/completions/cvs
+++ b/completions/cvs
@@ -245,7 +245,8 @@ _cvs()
COMPREPLY=( $( compgen -W '${changed[@]:-} \
${newremoved[@]:-}' -- "$cur" ) )
else
- COMPREPLY=( $(compgen -o default -- "$cur") )
+ get_entries
+ COMPREPLY=( $( compgen -W '${entries[@]}' -- "$cur" ) )
fi
else
_cvs_command_options "$1" $mode
--
bash-completion
More information about the Bash-completion-commits
mailing list