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

Re: PATCH: more flexible cd builtin



On Dec 13,  4:56pm, Clint Adams wrote:
} Subject: PATCH: more flexible cd builtin
}
} +    if (lchdir(dest, NULL, hard))	/* Try plain relative first */
}      if (lchdir(buf, NULL, hard)) {

Should that at least be in the other order?  That is,

	if (lchdir(buf, NULL, hard) && lchdir(dest, NULL, hard))

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author