feat(fish): add mise version manager integration

Add mise activate and shims PATH for fish shell, plus rustup
cargo env sourcing in conf.d/rustup.fish.
This commit is contained in:
2026-02-28 10:36:49 +02:00
parent 0f82f8e65b
commit b956119b98
3 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
source "/home/ivuorinen/.local/share/cargo/env.fish"

View File

@@ -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)

View File

@@ -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"