You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using iTerm with the Powerlevel10k theme which lets you display several version (like node, PHP, Laravel) of the current project in your prompt.
For example, I use nodenv set a global version and specific versions for each of my projects. Nodenv stores that version when set/changed in a .node-version file in the project root folder, which then the Powerlevel10k theme seems to read and display in the prompt.
But for PHP, when using Herd, it seems that it displays the global version that is used by Herd, ignoring the project specific set version.
Does anybody know how to get the project specific PHP version, set through the Sites sitting in Herd, to be displayed in the prompt using the Powerlevel10k theme?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using iTerm with the Powerlevel10k theme which lets you display several version (like node, PHP, Laravel) of the current project in your prompt.
For example, I use nodenv set a global version and specific versions for each of my projects. Nodenv stores that version when set/changed in a .node-version file in the project root folder, which then the Powerlevel10k theme seems to read and display in the prompt.
But for PHP, when using Herd, it seems that it displays the global version that is used by Herd, ignoring the project specific set version.
Does anybody know how to get the project specific PHP version, set through the Sites sitting in Herd, to be displayed in the prompt using the Powerlevel10k theme?
Any suggestions would be highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions