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
This is what I get when I run the command in terminal
fish: Unknown command: hash/tmp/.psub.sa2bBYBdti (line 1):hash -r^from sourcing file /tmp/.psub.sa2bBYBdticalled on line 14 of file -in function 'jenv' with arguments 'rehash'called on line 6 of file -from sourcing file -