From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14257 invoked by alias); 30 Jan 2016 20:47:21 -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: 21212 Received: (qmail 27300 invoked from network); 30 Jan 2016 20:47:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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.0 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:content-type; bh=sEHED/xGgBnSpVNfr7k6RbpNxveutsccuChM/u7qEmg=; b=FOubwvSyvuWBKoG3IohvfATne+Z9b9x57efQG77S0uxaiWYm2fW8fRQtStSV8vREVg y83gnqDX0cKgVmdrE6xpQ1XSx+M9KbZT8lq440KajsbNG3llS8VzvCacyEnKitrCdC7Z 8VGe3Da6G7kzJf3Swtp0suqVeiuWwVWgZdFpR+uI2pK6jvrfce8WUkT1wUVyUKmQl1qy Se7iAgW0yW6a3FWAzAgnRq19okzm3/G+eznYpdytC/qXv6D7vESg4Xx1DBeVFJqE/qMv wRzBmFQADBo8a6NjeXa8leOS2xUBtb1DjXEeqhqsNqDtm5yz4CSehhsvk2iPpOEnxwSW YwKA== 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:content-type; bh=sEHED/xGgBnSpVNfr7k6RbpNxveutsccuChM/u7qEmg=; b=QgYO/1rtinGI6pU2qRVhRO/F/ZWGFznSSlXVzAjfm1qznJozpbgCNwfzSzdhaCN9Dv rylc0dmlvOsXl+UjJUcKRGT5fPzFCAdg9AS3WDl7e1+xn6i85KpGUc3mD03MD+CTNLi7 TTmYmaVRD1Z3EV2FYVt6LQcQm057/OEgu4kZROAz231Ba+c84AwBUvvj8ebayacT878h LS2tdYbU1oCWY4nZNDwkz+dpIycBoxESI8iG0Hv9kjt3GGe/LJXylGSJiXylB55orRe3 w0Y3Vyqfho22sei1mbL8Hh89dQy5KqB6BwSnR5cJogKG0lekLihN4bOqnIxXJSWkvJe6 S7zA== X-Gm-Message-State: AG10YOTS4nUKh+vBsjEwpA2kgu4xB/PR6pTBo0ieDjmTWfxNS/aEZHdRdaZ1D4Yk2RmNCw== X-Received: by 10.66.218.73 with SMTP id pe9mr24886901pac.91.1454186839404; Sat, 30 Jan 2016 12:47:19 -0800 (PST) From: Bart Schaefer Message-Id: <160130124809.ZM10426@torch.brasslantern.com> Date: Sat, 30 Jan 2016 12:48:09 -0800 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Methods of shadowing a builtin call" (Jan 30, 10:31am) References: <160129150909.ZM24728@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: Methods of shadowing a builtin call MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 30, 10:31am, Sebastian Gniazdowski wrote: } } Was hoping for some third method of shadowing, } add-zsh-hook and preexec maybe, something like this. You could use the DEBUG trap, but that might interfere with other uses thereof.