diff --git a/config/fish/conf.d/rustup.fish b/config/fish/conf.d/rustup.fish new file mode 100644 index 0000000..bbe942f --- /dev/null +++ b/config/fish/conf.d/rustup.fish @@ -0,0 +1 @@ +source "/home/ivuorinen/.local/share/cargo/env.fish" diff --git a/config/fish/config.fish b/config/fish/config.fish index 5316197..1bef31c 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -21,6 +21,7 @@ if status is-interactive source "$HOME/.config/op/plugins.sh" # version manager initializers + type -q mise; and source (mise activate fish|psub) type -q rbenv; and source (rbenv init -|psub) type -q pyenv; and source (pyenv init -|psub) type -q pyenv; and source (pyenv virtualenv-init -|psub) diff --git a/config/fish/exports.fish b/config/fish/exports.fish index 40d3c61..c9914ca 100644 --- a/config/fish/exports.fish +++ b/config/fish/exports.fish @@ -17,6 +17,9 @@ set -q HOSTNAME; or set -x HOSTNAME (hostname -s) # Add local bin to path fish_add_path "$XDG_BIN_HOME" +# Add mise shims to path +fish_add_path "$XDG_DATA_HOME/mise/shims" + # Add cargo bin to path fish_add_path "$XDG_SHARE_HOME/cargo/bin"