Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
pws-20: problems with "$@"
- X-seq: zsh-workers 6463
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: pws-20: problems with "$@"
- Date: Fri, 4 Jun 1999 15:52:01 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
This worked for me under all ZSH versions:
bor@itsrm2:/opt%> which cd
cd () {
builtin cd "$@" > /dev/null
}
But now I get:
bor@itsrm2:~/src%> cd
bor@itsrm2:~/src%> /bin/pwd
/home/bor/src
bor@itsrm2:~/src%> builtin cd
bor@itsrm2:~%> /bin/pwd
/home/bor
the patch list:
6392
6395
6404
6410
6411
6414
6416
6421
6424
6430
6431
6433
I use "$@" as I'd like to make sure, that thye above works irrespectively of
SH_WORD_SPLIT settings.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author