Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: CVS completer (Re: PATCH: Re: Completion/User functions again)



I think _complete_opts is bit verbose.

--- Completion/Base/_complete_opts-	Mon Jul 26 09:45:51 1999
+++ Completion/Base/_complete_opts	Mon Jul 26 09:46:49 1999
@@ -81,7 +81,9 @@
 esac
 
 if [[ -z "$done" ]]; then
-  compadd - -${(k)^option_pairs:gs/://}
+  if (( $+complete_opts_verbose )); then
+    compadd - -${(k)^option_pairs:gs/://}
+  fi
   false
 else
   true

-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author