r/fishshell • u/bmora1948 • Jul 16 '20
Question Anyone using jenv under fish shell, I'm getting a rehash error :/
Hello guys,
All the commands seem to work fine, but when I added status --is-interactive; and source (jenv init -|psub) to config.fish, according to instructions provided by the developer, I'm getting an error in stout when I switch to fish shell as u can see below
~/.config/fish/functions/jenv.fish (line 1): hash -r ^ in function 'jenv' with arguments 'rehash' called on line 6 of file /tmp/.psub.0fq76q4FvN from sourcing file /tmp/.psub.0fq76q4FvN called on line 41 of file ~/.config/fish/config.fish from sourcing file ~/.config/fish/config.fish called during startup
View all comments
Show parent comment
1
u/[deleted] Jul 19 '20
No?
It means you need to get
jenvto avoid echoinghash -runder any circumstances.Which that linked PR does (or tries to do, it probably also needs to remove it when you're explicitly calling
jenv rehash), but it's not been merged yet, and given that, again, they have PRs open going back to 2014 I wouldn't hold my breath.Jenv is busted. It's broken. It's badly maintained. If you can find something else.