Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

pws-20: problems with "$@"



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