Skip to content

Use whence -p instead of which in Zsh#1142

Merged
morozov merged 1 commit into
phpbrew:masterfrom
morozov:issues/1140
Dec 31, 2019
Merged

Use whence -p instead of which in Zsh#1142
morozov merged 1 commit into
phpbrew:masterfrom
morozov:issues/1140

Conversation

@morozov
Copy link
Copy Markdown
Contributor

@morozov morozov commented Dec 31, 2019

In Zsh, which phpbrew resolves to the phpbrew alias instead of the binary.

Fixes #1140.

@morozov morozov added Bug Zsh Regression A bug that that was introduced as part of a feature or another bug fix labels Dec 31, 2019
@morozov morozov added this to the Release 1.25.2 milestone Dec 31, 2019
@morozov morozov self-assigned this Dec 31, 2019
@morozov morozov merged commit 1a3b9e9 into phpbrew:master Dec 31, 2019
@morozov morozov deleted the issues/1140 branch December 31, 2019 04:45
morozov added a commit that referenced this pull request Dec 31, 2019
Use whence -p instead of which in Zsh
@morozov
Copy link
Copy Markdown
Contributor Author

morozov commented Dec 31, 2019

Backported to 1.25 via d1fe04f.

@chiddekel
Copy link
Copy Markdown

Regression on zsh session in visual studio code.

@chiddekel
Copy link
Copy Markdown

chiddekel commented Jul 26, 2022

which: no phpbrew in
(...)
__phpbrew_php_exec:15: access denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Regression A bug that that was introduced as part of a feature or another bug fix Zsh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

__phpbrew_php_exec:15: command too long: phpbrew ()

2 participants