You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have changed the initialisation line in my config.fish file from source (jenv init -|psub)
to source (jenv init -| tail -n +2 | psub)
to prevent ~/.jenv/shims from being added to my path twice.
As soon as jenv is called it adds the dir to the path, and then the first line produced by jenv init - does it again. Here is the output of jenv init -:
set -gx PATH '/Users/anthonyholland/.jenv/shims' $PATH
set -gx JENV_SHELL fish
set -gx JENV_LOADED 1
set -e JAVA_HOME
set -e JDK_HOME
source '/opt/homebrew/Cellar/jenv/0.5.6/libexec/libexec/../completions/jenv.fish'
jenv rehash 2>/dev/null
jenv refresh-plugins
function jenv
set command $argv[1]
set -e argv[1]
switch "$command"
case enable-plugin rehash shell shell-options
jenv "sh-$command" $argv | source
case '*'
command jenv "$command" $argv
end
end
The text was updated successfully, but these errors were encountered:
I have changed the initialisation line in my config.fish file from
source (jenv init -|psub)
to
source (jenv init -| tail -n +2 | psub)
to prevent
~/.jenv/shims
from being added to my path twice.As soon as
jenv
is called it adds the dir to the path, and then the first line produced byjenv init -
does it again. Here is the output ofjenv init -
:The text was updated successfully, but these errors were encountered: