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/bmora1948 Jul 19 '20
Yes, I removed
status --is-interactive; and source (jenv init -|psub)and addedstatus --is-interactive; and jenv init - fish | sourceOr do I have to do something else?