Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vared in scripts and history
- X-seq: zsh-users 8508
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: Re: vared in scripts and history
- Date: Tue, 15 Feb 2005 16:26:54 +0000
- In-reply-to: <20050215131935.GA21734@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050215131935.GA21734@xxxxxxxxxxxxxxx>
On Feb 15, 1:19pm, Stephane Chazelas wrote:
} Subject: vared in scripts and history
}
} while a=; vared -p "$2" -e a; do
}
} Now, I'd like to add some history support. But I couldn't have it to
} work. Is there any way?
With 4.2.3:
fc -p -a $HOME/.zfhistory 10 10
while a=; vared -h -p "$2" -e a; do
{ ... } < $1
print -s "${(P)2}"
done
Messages sorted by:
Reverse Date,
Date,
Thread,
Author