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

Re: [PATCH] Functions/Misc/relative: use -q with cd



On Jun 22, 10:32pm, Daniel Hahler wrote:
}
} After looking closer at it, I think it would be better if it would
} work with non-existing files/dirs instead.

Changing $(cd $1; pwd -r) to ${1:P} would fix that, too, provided that
you also remove the is-a-directory checks on line 7.



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