Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Creating function in zsh
- X-seq: zsh-users 13335
- From: czech@xxxxxxxxx
- To: zsh-users@xxxxxxxxxx
- Subject: Creating function in zsh
- Date: Thu, 16 Oct 2008 12:59:39 -0700 (PDT)
- Importance: Normal
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi -
I have created the following function in zsh on Mac OSX:
cd() {
builtin cd "$@" print -D $PWD
}
This works find on OSX, but gives the following error on Fedora Core 8:
johann:czechar:.zfunc> cd /home/czechar
cd /home/czechar
cd:cd:1: too many arguments
I am running zsh 4.2.6 on Fedora.
Any notion what the problem could be?
Thanks
Corwin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author