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
Stuck in legacy fish <=2.2 and can't upgrade your shell? Got you covered. 💯
If you are running fish 2.0 you'll need source. So, create a new file source.fish and put it in your fish functions directory.
function source
. $argvend
If you are running fish 2.1 or 2.2 you can skip the previous step. Now, open your fish configuration file (~/.config/fish/config.fish) and add this code to the beginning of the file.
set-q XDG_CONFIG_HOME; orset XDG_CONFIG_HOME ~/.config
forfilein$XDG_CONFIG_HOME/fish/conf.d/*.fish
source $file2>/dev/null
end
Stuck in legacy fish
<=2.2
and can't upgrade your shell? Got you covered. 💯If you are running fish
2.0
you'll needsource
. So, create a new filesource.fish
and put it in your fish functions directory.If you are running fish
2.1
or2.2
you can skip the previous step. Now, open your fish configuration file (~/.config/fish/config.fish
) and add this code to the beginning of the file.That will run configuration snippets manually on shell startup. See fish-shell/fish-shell#2498 to learn more about configuration snippets
That's it—happy fishing!
Notes
XDG_CONFIG_HOME
is defined on your system, use$XDG_CONFIG_HOME/fish/config.fish
to access your fish configuration.The text was updated successfully, but these errors were encountered: