Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Substituting grep (and other) output to open files in Vim
- X-seq: zsh-users 16055
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- Subject: Re: Substituting grep (and other) output to open files in Vim
- Date: Fri, 27 May 2011 15:00:31 -0700
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=i0UqFAw+2JEgyOn+fpIwAewq7rsUmRRLpqwRHd7wrCc=; b=hCjZjaRjHoleWMifsq/gnSrsuX4QH7DVHvfjSvWsGe81D2zUMX9KuHAhL218pUI7aW P+0ejkhgL2dD34YNLI7J2ODCnmeCzhqqPSgxWj4d41ntCGefQdOa7ey05J66XLU8rGCK 9DlF0YetjV2vN/Ez2/ZbWY8lm8TeOPYTiYVd8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=JDguJOUzTFAi4ViVuL6deYq4Rqy0F5ayLDC8hYYIBTyr1DMEBbv3iF1Vm6f6hL24pG 6h4TPOv8Zx7LR3rA85iGi/OtunoZCm8bsBkDryVyftH3aQtpQWyey3LWHtZmf4Yrs3m5 4mhPHUwEuK/4zRDfz2OC/ybkjelaVZ4agr2zE=
- In-reply-to: <BANLkTin+KcHQS00n4=Sz4xONuVQUQh9NSg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <BANLkTik+65NedRoVNJMgj9+Oma_XDmz8dA@mail.gmail.com> <BANLkTik0-EfNso_Qu_rHZBS=6z_Zo9cs_g@mail.gmail.com> <BANLkTinJXkWFMiw4Y00dHQvQ6vqQ8F1Z-w@mail.gmail.com> <BANLkTin+KcHQS00n4=Sz4xONuVQUQh9NSg@mail.gmail.com>
- Sender: 4wayned@xxxxxxxxx
On Fri, May 27, 2011 at 8:09 AM, Richard Hartmann <
richih.mailinglist@xxxxxxxxx> wrote:
>
> vim foo:123:abc does not act like vim foo +123
>
Twiddle the "== 2" line to use "-ge 2":
[[ $#args -ge 2 && $args[2] == <-> ]] \
That'll fix that right up.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author