zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _unexpand
@ 2005-07-10  1:18 Travis Spencer
  2005-07-10  3:38 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Travis Spencer @ 2005-07-10  1:18 UTC (permalink / raw)
  To: zsh-workers

Here is a patch to add completion for the UNIX and Linux version of
unexpand. 

--- /dev/null	Sat Jul  9 18:12:21 2005
+++ Completion/Unix/Command/_unexpand	Sat Jul  9 18:12:36 2005
@@ -0,0 +1,15 @@
+#compdef unexpand
+#
+# $Id:$
+#
+# Copyright (C) 2005 Travis L. Spencer
+# ALL RIGHTS RESERVED
+#
+# See the file LICENCE in the root of the zsh distribution for
+# licensing information.
+#
+
+_arguments \
+    '-a[convert all whitespace, instead of just initial whitespace]' \
+    '-t[use the given tab width or a list of specific tab positions]:tablist' \
+    '*:file:_files'
--- /dev/null	Sat Jul  9 18:12:21 2005
+++ Completion/Linux/Command/_unexpand	Sat Jul  9 18:12:49 2005
@@ -0,0 +1,18 @@
+#compdef unexpand
+#
+# $Id:$
+#
+# Copyright (C) 2005 Travis L. Spencer
+# ALL RIGHTS RESERVED
+#
+# See the file LICENCE in the root of the zsh distribution for
+# licensing information.
+#
+
+_arguments \
+    {-a,--all}'[convert all whitespace, instead of just initial whitespace]' \
+    '--first-only[convert  only leading sequences of whitespace]' \
+    {-t,--tabs=}'[use comma separated list of tab positions]:tablist' \
+    '(* -)--help[display help message and exit]' \
+    '(* -)--version[output version information and exit]' \
+    '*:file:_files'


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-11  3:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-10  1:18 PATCH: _unexpand Travis Spencer
2005-07-10  3:38 ` Bart Schaefer
2005-07-10  6:14   ` Travis Spencer
2005-07-10 16:20     ` Bart Schaefer
2005-07-11  0:52       ` Travis Spencer
2005-07-11  3:26         ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).