zsh-workers
 help / color / mirror / code / Atom feed
From: Omari Norman <omari@smileystation.com>
To: ZSH Workers List <zsh-workers@sunsite.dk>
Subject: Completions for fold
Date: Tue, 21 Oct 2008 17:14:49 -0400	[thread overview]
Message-ID: <20081021211449.GA7354@cameron> (raw)

[-- Attachment #1: Type: text/plain, Size: 39 bytes --]

Here are some completions for fold...


[-- Attachment #2: _fold --]
[-- Type: text/plain, Size: 746 bytes --]

#compdef fold

local arguments

if _pick_variant gnu="Free Software Foundation" unix --version; then
    arguments=(
        '(-b --bytes)'{-b,--bytes}'[count bytes rather than columns]'
        '(-s --spaces)'{-s,--spaces}'[break at spaces]'
        '(-w --width)'{-w+,--width=}'[use WIDTH columns instead of 80]:width:'
        '(-h --help)'{-h,--help}'[display help and exit]'
        '(-v --version)'{-v,--version}'[display version and exit]'
        '*:filename:_files'
    )
else
    arguments=(
        -b'[count bytes rather than columns]'
        -s'[break at spaces]'
        -w'[use WIDTH columns instead of 80]:width:'
        '*:filename:_files'
    )
fi

[[ -n $gnu ]] && _arguments -s -w -S : $arguments || _arguments : $arguments

                 reply	other threads:[~2008-10-21 21:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081021211449.GA7354@cameron \
    --to=omari@smileystation.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).