zsh-users
 help / color / mirror / code / Atom feed
* How to get 'fc' context?
@ 2015-03-14 23:44 Han Pingtian
  2015-03-15  1:38 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Han Pingtian @ 2015-03-14 23:44 UTC (permalink / raw)
  To: zsh-user

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!


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-16  6:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-14 23:44 How to get 'fc' context? Han Pingtian
2015-03-15  1:38 ` Bart Schaefer
2015-03-15 21:39   ` Han Pingtian
2015-03-16  0:30     ` Bart Schaefer
2015-03-16  4:11       ` Han Pingtian
2015-03-16  6:26         ` Bart Schaefer

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).