From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24354 invoked by alias); 15 Jun 2016 17:40:36 -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: 21666 Received: (qmail 28963 invoked from network); 15 Jun 2016 17:40:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=Gcm5oEVNeIZ4CNGxljG+IztCzh9hqdWzxD9xeyRMUjg=; b=KVphRY7JQKpiRrRDegLydChFoFmSTsvu1Ycjgtt2MOLknWipPMT5r823adwH6C8ZS1 ursv8dwlZ2RV0g34PM0AWQaGKmC5c5kTIUjiLjZf7xIEvNEpz/YeV+DYhDlHx2sOU5Wy v/rIIx2iHPaOly2XT1e3R7p+GB0EBoGikc920OSXVB2IWmnHq+FbjKJc0wtvNgRgr5aL BR2N8W94ffzpclLAndvEuHNtZSpRhmta4XUg28tzYd8NQJY3k+nQKEPAQpBvtfIYQboS U9P6toh7R2vuPUM90vn+/vPaK3XVswwP34mezTgG8+MmdZYPK+HmnX3dItCQKxD01rfW migg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=Gcm5oEVNeIZ4CNGxljG+IztCzh9hqdWzxD9xeyRMUjg=; b=acLOS9JeXGK/DA1EqaFP1L12xEJa/88jYH44Urji6EHxMxtMIx+7oiQPxogOmi0NX+ 6SojI3Lzc3IwAPzOYtf7xyQqguW80ZVOZvMjXs/EVTN+gYTDdLJ1+3H54GX5Cl2pxOzs kDI02CbI7MMB7mEolU1V4oyqIXPAp8B+RWOLEimS9e5o8ev4uaSIRerBlMI/mCOTosxE nXqYJB4HrYqNq1LfwnyuxIaGdBWbv74/yiGUvx7txf7d8FINFNFtzC6AzXxMjbVGmysT 5Fwu63fwSmJapWOKqaxJc1pJl362kuqRrO0eH2TYjX169pglmJXrsMGo1yDUNSUYv4UO N8nw== X-Gm-Message-State: ALyK8tIDj0Vl/MqAUPbBF8+uwSRd6sUN1mBlU4elyXHkDXbPjddWQiq20HH31FXvJlUZ5w== X-Received: by 10.98.82.68 with SMTP id g65mr4884252pfb.157.1466012435113; Wed, 15 Jun 2016 10:40:35 -0700 (PDT) From: Bart Schaefer Message-Id: <160615104056.ZM21394@torch.brasslantern.com> Date: Wed, 15 Jun 2016 10:40:56 -0700 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Can $_ substitute $0 when nofunctionargzero" (Jun 15, 6:58pm) References: <160609134641.ZM4758@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: Can $_ substitute $0 when nofunctionargzero MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 15, 6:58pm, Sebastian Gniazdowski wrote: } } Just noted that when recording asciinema video, $0 nor %N do work. } Both contain only file name, without path. Seems pretty weird? $0 and %N only contain the path given to "source" or passed in as argv[0]. That will be "test_program" here unless a $path search changes it. Perhaps asciinema inserts "." or an empty element into $PATH where you don't normally have one, so `pwd` isn't used for the path search?