diff options
Diffstat (limited to 'Completion/Cvs/_cvs_files')
-rw-r--r-- | Completion/Cvs/_cvs_files | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Cvs/_cvs_files b/Completion/Cvs/_cvs_files new file mode 100644 index 000000000..f2a83ac28 --- /dev/null +++ b/Completion/Cvs/_cvs_files @@ -0,0 +1,10 @@ +#autoload + +local qpref pref entries +_cvs_setup_prefix +if [[ -d ${pref}CVS ]]; then + _cvs_setup_allentries + (( $#entries )) && compgen "$@" -g "${(j:|:)${(@)entries:q}}" +else + _files "$@" +fi |