Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to get 'fc' context?
- X-seq: zsh-users 20010
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-user <zsh-users@xxxxxxx>
- Subject: How to get 'fc' context?
- Date: Sun, 15 Mar 2015 07:44:03 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-user <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I'm reading the manual:
fc Code from the shell history executed by the -e
option to the fc builtin.
But looks like I cannot get the 'fc' context when doing this:
localhost% print $zsh_eval_context
toplevel
localhost% fc -e -
print $zsh_eval_context
toplevel file
localhost%
How can we get the 'fc' context, please?
Thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author