Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
capturing output of !! not working
- X-seq: zsh-workers 34736
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: capturing output of !! not working
- Date: Wed, 18 Mar 2015 21:49:37 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=DTzsp96cg1/mSyTqdIDkWxikkVBrCImv6o05jFUwIvE=; b=J55Y75fe1xc6oUj/hkajr8aGxL8uA4SUKVWAJLbQIbY3X0hlxx4D0bdGhGy82y6bmd SzeZZ96tQ7RyMtb/P/Vhk1mA+6QWuoEQRCpBRv2uQx1jLtVyHo7wwaEERTCrNK/2LHNE iRTm6KXhUlcekwTKbPTITUxKXzulxVb38sdF8E0UJAF71K8vi33X5jqR/qGHVFTPqcG/ AZui6xZ7b+TIQx6dK6/l++n+DdyOP4gbNtLvenSxZdTlz2FysTzJvWMo8VHTr1Fd1MpQ XRAHVI+//r1wwF0cHhwM7sLbqBSNRzY7Z6waQqpgwYAklFd5zSvG3eOGdxV6YcTUhJJ7 cUbw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Sender: ethersoft@xxxxxxxxx
From latest sources:
$ mkdir foo; cd ./foo
$ touch a b c
$ echo abc >d
$ grep -l abc ?
d
$ ls -l $(!!)
ls -l $()
total 4
-rw-r--r-- 1 acs acs 0 Mar 18 20:23 a
-rw-r--r-- 1 acs acs 0 Mar 18 20:23 b
-rw-r--r-- 1 acs acs 0 Mar 18 20:23 c
-rw-r--r-- 1 acs acs 4 Mar 18 20:23 d
This happens for me even in a "zsh -f".
- Vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author