From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6759 invoked by alias); 5 Feb 2016 16:37:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37888 Received: (qmail 24924 invoked from network); 5 Feb 2016 16:37:11 -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:content-type; bh=m16qVjD0hg2vLtYWO84oRGVnQXmeTP/As+VUNzZpogI=; b=yN+iPp77NcYjpwgZdqkBezVtzi/7am67IEwAHvyXcPTfo+p+hHeaykPIoxh2f6DxLO rDJKkxLGj/ZyN568hGsjxlOitqere0K8ZSvjf6uSMK/Fro5L++lROg3Rq29dSZoXSxya Q9M3+oL8tdpwgbSa6Q8tvJVH6h/zPw4G3HCVX0Pq1Ptk948atkgWAiFqMkOEuX2yD/Fo vH4H0DwiuNG/wn/RnN1Xyx+CSEYn8V9YCF6gjm/QxMFgOGxfje4gabHDMZPlQjvnxhnc oLMPtvycP1ZEr2HPUnas/LJl7d9MB/6W9jazSq7lEVFLQakEFAu9ifzG0s7JBD6S0hfI Nt/g== 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=m16qVjD0hg2vLtYWO84oRGVnQXmeTP/As+VUNzZpogI=; b=ea3cgJtmHZNwh77E0/5/eiRbFe6WhkdFuTStOyfaZN+PciEi7ijdxjXojvavN2l+Bh 4+/cWY8nzvdwNsIyv1/8jB+bSTi9jjZ275R9Lo6qhQMMgDfChJfsRuKWU/e6RnBtRKKC nWCePrtAzrOrzDpH/0K9dPQr4/LnAm7Km9dfh0/LrhU/XEpO1HJUMkqV0/YngZYGXPuO PDayyLGtiRqYhbcgocfx1brUGl6O5GvKRRK4X0f2V26wrP6nv6QQffu9K/IfYeqmer+y XyipCuXLDpf2l+1tpMRG4Vl4ZiCcpodphz6qIWw8md5+fopOs7Xaq+sXbgI3lnaG7M4+ xoKw== X-Gm-Message-State: AG10YOQh9/w+6fsX33XlgxrCyw+/Je8uyCbDa5Oysg38UJmK8f/ABSrbPoHkCCXY9VMgpw== X-Received: by 10.67.24.104 with SMTP id ih8mr21283983pad.124.1454690228054; Fri, 05 Feb 2016 08:37:08 -0800 (PST) From: Bart Schaefer Message-Id: <160205083708.ZM29641@torch.brasslantern.com> Date: Fri, 5 Feb 2016 08:37:08 -0800 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Compiled files ignore aliases" (Feb 5, 4:33pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: Compiled files ignore aliases MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 5, 4:33pm, Sebastian Gniazdowski wrote: } } this is probably expected as aliases are applied on parsing time. But } maybe this wasn't yet recognized? This is as expected, yes. } Any way to have aliases working when sourcing .zwc file? Typically one needs "zcompile -U" to turn OFF the aliases when creating the .zwc file. However, no function, zcompiled or otherwise, will use aliases that are created after the function body is parsed. What this means is: The aliases have to be defined in the shell that executes the zcompile command.