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

Re: whence output varies with dot vs. realpath in $PATH




On 2022-10-31 16:03, Bart Schaefer wrote:
If $PWD is actually in the path
That can be in there literally?
No, that's not what I meant.  $PWD was shorthand for "the expanded
name of the current directory" like you were generating with
$(realpath).

I'm just experimenting with that now, but it seems to work ... but only once per restart of the shell, just as I really should expect. Back to the dot.   So it has to be dynamic.




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