Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
alias in .zprofile - strange effect
- X-seq: zsh-users 15224
- From: Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: alias in .zprofile - strange effect
- Date: Tue, 03 Aug 2010 10:59:37 +0200
- 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
Hi,
I'm using zsh GIT- 2010/07/20
In my home directory I have a .zprofile file with the following lines
export PGPPATH=~/.pgp
alias lpps="lpr -Ppsloc"
alias cdc="cd ..;cd ~-"
#if [[ $DISPLAY == ':0.0' ]]; then
# /usr/X11R6/bin/xmodmap ~/.Xmodmap
#fi
# export OPERADIR=/usr/local/share/opera
export NEDIT_HOME=/home/jarausch/.nedit
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.
What's going on?
Many thanks for a hint,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
Messages sorted by:
Reverse Date,
Date,
Thread,
Author