From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5934 invoked by alias); 3 Aug 2010 09:45:01 -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: 15225 Received: (qmail 15963 invoked from network); 3 Aug 2010 09:45:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.215.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=14bY27QAKiWNL56JZwYhGRCXxcyHhTZ01UAsJZ/9S+c=; b=v1iF9SKM3MeSjSxHOfC4EwT7YNyx1jpoWowBXjD8PELc8toW5xqukyFU1D1C79Mo0J wszffjlwQsGfnSc8Jca58iqMW/NJBpItenYu8nKQQ51DNQVc9cLL8/Uaoi+b4Z+x+Ree qivsYkgJ60ENZC+udVaCIzh+jNadboye8rcUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=irGz8L4102FE/Q9/lFVLZD49ejfW4Fhe2EZV9Q3xCDRE2EVre+T3pl59xOodow14GI kMwEv2NbhObsabE1ybZnB0MlSg4eSP0owCDgKYBTYVMHpRvPZ9N9FVec9Kcv4CbdNe2I /Ekk7JFZwGZwBBVMIpyAACp732DRnPeJh6+Vo= MIME-Version: 1.0 In-Reply-To: <1280825977.3079.0@numa-i> References: <1280825977.3079.0@numa-i> From: =?ISO-8859-1?Q?J=E9r=E9mie_Roquet?= Date: Tue, 3 Aug 2010 11:44:32 +0200 Message-ID: Subject: Re: alias in .zprofile - strange effect To: Zsh Users Cc: Helmut Jarausch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, 2010/8/3 Helmut Jarausch : > In my home directory I have a .zprofile file with the following lines > [...] > If I enter =A0'cdc', ZSH doesn't know it. > > But if I (re-)define it by > alias cdc=3D"cd ..;cd ~-" > > then 'cdc' is known afterwards. > And I've debugged it, .zprofile has been run during startup. Do you have some particular reason to use a .zprofile instead of a .zshrc ? What is the output of " zsh --verbose |& grep alias " (without quotes) ? Best regards, --=20 J=E9r=E9mie