zsh-workers
 help / color / mirror / code / Atom feed
* Why local -h PATH=... doesn't change the binaries seen?
@ 2019-08-31 18:56 Sebastian Gniazdowski
  2019-08-31 20:25 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2019-08-31 18:56 UTC (permalink / raw)
  To: Zsh hackers list

Hello,
local PATH without -h works. With it the previous PATH is being used.
This probably results from different oldpm stacking, however isn't it
counter-intuitive?

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why local -h PATH=... doesn't change the binaries seen?
  2019-08-31 18:56 Why local -h PATH=... doesn't change the binaries seen? Sebastian Gniazdowski
@ 2019-08-31 20:25 ` Bart Schaefer
  2019-08-31 22:20   ` Sebastian Gniazdowski
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2019-08-31 20:25 UTC (permalink / raw)
  To: Sebastian Gniazdowski; +Cc: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

The -h option by definition removes all special meaning of the parameter.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why local -h PATH=... doesn't change the binaries seen?
  2019-08-31 20:25 ` Bart Schaefer
@ 2019-08-31 22:20   ` Sebastian Gniazdowski
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Gniazdowski @ 2019-08-31 22:20 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: Zsh hackers list

On Sat, 31 Aug 2019 at 22:25, Bart Schaefer <schaefer@brasslantern.com> wrote:
>
> The -h option by definition removes all special meaning of the parameter.

True, this makes sense. I was thinking "put the special parameter
aside and use the provided impostor" ;)

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-31 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 18:56 Why local -h PATH=... doesn't change the binaries seen? Sebastian Gniazdowski
2019-08-31 20:25 ` Bart Schaefer
2019-08-31 22:20   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).