From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7465 invoked by alias); 15 Mar 2015 01:11:00 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20010 Received: (qmail 20357 invoked from network); 15 Mar 2015 01:10:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Date: Sun, 15 Mar 2015 07:44:03 +0800 From: Han Pingtian To: zsh-user Subject: How to get 'fc' context? Message-ID: <20150314234403.GA2795@localhost.localdomain> Mail-Followup-To: zsh-user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15031501-0033-0000-0000-00000214D42C 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!