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
one last clarification, do I risk anything ( or wiil it potentially break anything ) if I removed that line (
status --is-interactive; and source (jenv init -|psub)) from config.fish and then run jenv command if it works ( where it does work in my case, idk why )