From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: zsh-users@zsh.org
Subject: alias in .zprofile - strange effect
Date: Tue, 03 Aug 2010 10:59:37 +0200 [thread overview]
Message-ID: <1280825977.3079.0@numa-i> (raw)
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
next reply other threads:[~2010-08-03 9:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 8:59 Helmut Jarausch [this message]
2010-08-03 9:44 ` Jérémie Roquet
2010-08-03 10:54 ` Vincent Lefevre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1280825977.3079.0@numa-i \
--to=jarausch@igpm.rwth-aachen.de \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).