Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alias in .zprofile - strange effect
- X-seq: zsh-users 15225
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: alias in .zprofile - strange effect
- Date: Tue, 3 Aug 2010 11:44:32 +0200
- Cc: Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>
- 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=
- In-reply-to: <1280825977.3079.0@numa-i>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1280825977.3079.0@numa-i>
Hi,
2010/8/3 Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>:
> In my home directory I have a .zprofile file with the following lines
> [...]
> If I enter 'cdc', ZSH doesn't know it.
>
> But if I (re-)define it by
> alias cdc="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,
--
Jérémie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author