]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/zsh_autocompletion/all/_all
Build an optimized release binary when using `./all compile` by default
[xonotic/xonotic.git] / misc / tools / all / zsh_autocompletion / all / _all
index 8c99c313922a5c2a4710aeac0ebc65f42d91d531..f4a8e6dbbb18e7c450f5830699f44d156c94baf4 100644 (file)
@@ -44,19 +44,22 @@ case $state in
             # choose version and autocomplete cvars
             # possible TODO: check for OS and adapt to it
             _arguments \
-                '1:Version:(sdl dedicated)' && ret=0
+                '1:Version:(sdl glx dedicated)' && ret=0
             ;;
 
         compile)
             _arguments \
-                '1:Version:(sdl dedicated)' \
+                '1:Version:(sdl glx dedicated)' \
                 "-0[don't use precompiled d0_blind_id]" \
+                "-1[don't compile d0_blind_id]" \
                 '-c[clean all before building]' \
                 '-qc[clean QuakeC binaries]' \
-                - '(release)' \
-                    '-r[build in release mode]' \
+                - '(debug)' \
+                    '-d[build in debug mode]' \
                 - '(profile)' \
-                    '-p[build in profile mode]' && ret=0
+                    '-p[build in profile mode]' \
+                - '(release)' \
+                    '-r[build in release mode (default)]' && ret=0
             ;;
 
         compile-map)