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

PATCH: add --no-pager to git's options



While we're at it: I do use 'git --no-pager foo' from time to time.

Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.97
diff -u -r1.97 _git
--- Completion/Unix/Command/_git	1 Sep 2008 19:24:54 -0000	1.97
+++ Completion/Unix/Command/_git	1 Sep 2008 20:12:34 -0000
@@ -4305,6 +4305,7 @@
     '(- :)--help[display help message]' \
     '--exec-path=-[path containing core git-programs]::directory:_directories' \
     '(-p --paginate)'{-p,--paginate}'[pipe output into $PAGER]' \
+    '--no-pager[do not pipe git output into a pager]' \
     '--git-dir=-[path to repository]:directory:_directories' \
     '--bare[use $PWD as repository]' \
     '*::arg:->cmd_or_options' && return



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