fix gem --version/--help tab completions

This commit is contained in:
Fabian Ruff 2014-04-03 11:25:52 +02:00 committed by ridiculousfish
parent 17ab7bde44
commit f2a507c4a7

View File

@ -4,8 +4,8 @@
#####
# Global options
complete -c gem -n 'not __fish_use_subcommand' -s h -l help -d "Print usage informations and quit"
complete -c gem -n 'not __fish_use_subcommand' -s v -l version -d "Print the version and quit"
complete -c gem -n '__fish_use_subcommand' -s h -l help -d "Print usage informations and quit"
complete -c gem -n '__fish_use_subcommand' -s v -l version -d "Print the version and quit"
#####
# Subcommands