zsh-workers
 help / color / 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, back to index

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

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git