]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/zsh_autocompletion/all/_all
Remove support for the glx binary.
[xonotic/xonotic.git] / misc / tools / all / zsh_autocompletion / all / _all
index 218c42ccfb2aa807500706d93c2bb06b5a32f2b3..8c99c313922a5c2a4710aeac0ebc65f42d91d531 100644 (file)
@@ -19,9 +19,9 @@ _1st_arguments=(
     'serverbench:run the server benchmark'
     'fix_upstream_rebase:fix upstream rebase'
     'fix_config:fix .git/config'
-    'keygen:generate ssh key for repo access'
-    {checkout,switch}':checkout a specific branch'
-    'branch:create a branch in a repo'
+    'keygen:generate ssh key for repo access if one does not exist yet'
+    {checkout,switch}':checkout a specific branch in repos where it exists and default branch elsewhere'
+    'branch:create a branch in a repo (asks for repo)'
     {push,commit}':commit and push changes'
     {each,foreach}':run a command in each repo'
     'grep:run "git grep" in all repos'
@@ -44,12 +44,12 @@ case $state in
             # choose version and autocomplete cvars
             # possible TODO: check for OS and adapt to it
             _arguments \
-                '1:Version:(sdl glx dedicated)' && ret=0
+                '1:Version:(sdl dedicated)' && ret=0
             ;;
 
         compile)
             _arguments \
-                '1:Version:(sdl glx dedicated)' \
+                '1:Version:(sdl dedicated)' \
                 "-0[don't use precompiled d0_blind_id]" \
                 '-c[clean all before building]' \
                 '-qc[clean QuakeC binaries]' \
@@ -78,7 +78,7 @@ case $state in
 
         update|pull)
             _arguments \
-                "-N[don't allow pull]" \
+                "-N[reset git config for each repo]" \
                 '-l[find the best mirror in the specified location]' \
                 - '(ssh)' \
                     {-p,-s}'[set ssh as push protocol and find the best mirror]' \