zsh-users
 help / color / mirror / code / Atom feed
From: "Jérémie Roquet" <arkanosis@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Cc: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
Subject: Re: alias in .zprofile - strange effect
Date: Tue, 3 Aug 2010 11:44:32 +0200	[thread overview]
Message-ID: <AANLkTi=rLKd8gFE6wtM1-bhU=1qo_U0DXRW8Ua1UK-Bs@mail.gmail.com> (raw)
In-Reply-To: <1280825977.3079.0@numa-i>

Hi,

2010/8/3 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>:
> 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


  reply	other threads:[~2010-08-03  9:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03  8:59 Helmut Jarausch
2010-08-03  9:44 ` Jérémie Roquet [this message]
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='AANLkTi=rLKd8gFE6wtM1-bhU=1qo_U0DXRW8Ua1UK-Bs@mail.gmail.com' \
    --to=arkanosis@gmail.com \
    --cc=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).