Bash, starship and bash-preexec #1517
Unanswered
devmatteini
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I just started trying out
mise
and so far so good!The only minor problem I found is the bash integration with bash-preexec and starship.
I installed with
mise
node 18 and 20 as global version.Given this minimal
.bashrc
:When I
cd
into a directory with a.nvmrc
withv18
starship displaysv20.11.0
as node version instead ofv18.19.0
.After I run a new command starship re-draw the prompt and the correct version is shown.
If you remove
source ~/.bash-preexec.sh
,mise activate
works as expected.I was wondering if any of you had any idea what could be causing this issue when used with
bash-preexec
.If I use shims, this issue is fixed.
There's only a ~5ms difference running node with shims, so it's not a big issue.
Beta Was this translation helpful? Give feedback.
All reactions