Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: alias in .zprofile - strange effect



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