[Bash-completion-commits] [SCM] bash-completion branch, master, updated. cbd15cc8a0a734f4ed651d03a16e7e047f0d3963
Ville Skyttä
ville.skytta at iki.fi
Tue Oct 20 19:24:09 UTC 2009
The following commit has been merged in the master branch:
commit c4c6eb7132c9aa493146f2c55f353439378d0d8c
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Oct 20 22:08:18 2009 +0300
Add some cvs global option argument completions.
diff --git a/contrib/cvs b/contrib/cvs
index 3645ad9..6ddaa08 100644
--- a/contrib/cvs
+++ b/contrib/cvs
@@ -351,6 +351,20 @@ _cvs()
fi
;;
"")
+ case "$prev" in
+ -T)
+ _filedir -d
+ return 0
+ ;;
+ -e|-s)
+ return 0
+ ;;
+ -z)
+ COMPREPLY=( $( compgen -W '1 2 3 4 5 6 7 8 9' -- "$cur" ) )
+ return 0
+ ;;
+ esac
+
COMPREPLY=( $( compgen -W '$( _cvs_commands ) $( _cvs_options ) \
--help --help-commands --help-options --version' -- "$cur" ) )
;;
--
bash-completion
More information about the Bash-completion-commits
mailing list