[Pkg-bazaar-commits] ./bzr/unstable r407: - slight improvements for zsh completion

Martin Pool mbp at sourcefrog.net
Fri Apr 10 07:52:12 UTC 2009


------------------------------------------------------------
revno: 407
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-09 14:30:00 +1000
message:
  - slight improvements for zsh completion
modified:
  contrib/zsh/_bzr
-------------- next part --------------
=== modified file 'contrib/zsh/_bzr'
--- a/contrib/zsh/_bzr	2005-05-03 07:48:54 +0000
+++ b/contrib/zsh/_bzr	2005-05-09 04:30:00 +0000
@@ -5,7 +5,17 @@
 # -S means there are no options after a -- and that argument is ignored
 
 # To use this you must arrange for it to be in a directory that is on
-# your $fpath, and also for compinit to be run.
-
-
-_arguments -S "1::bzr command:($(bzr help commands | grep '^   '))"
+# your $fpath, and also for compinit to be run.  I don't understand
+# how to get zsh to reload this file when it changes, other than by
+# starting a new zsh.
+
+# This is not very useful at the moment because it only completes on
+# commands and breaks filename expansion for other arguments.
+
+
+_arguments -S "1::bzr command:($(bzr help commands | grep -v '^   '))"
+
+
+# Local variables:
+# mode: shell-script
+# End:



More information about the Pkg-bazaar-commits mailing list