mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-01 08:59:05 +00:00
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:
1
config/fish/conf.d/rustup.fish
Normal file
1
config/fish/conf.d/rustup.fish
Normal file
@@ -0,0 +1 @@
|
|||||||
|
source "/home/ivuorinen/.local/share/cargo/env.fish"
|
||||||
@@ -21,6 +21,7 @@ if status is-interactive
|
|||||||
source "$HOME/.config/op/plugins.sh"
|
source "$HOME/.config/op/plugins.sh"
|
||||||
|
|
||||||
# version manager initializers
|
# version manager initializers
|
||||||
|
type -q mise; and source (mise activate fish|psub)
|
||||||
type -q rbenv; and source (rbenv init -|psub)
|
type -q rbenv; and source (rbenv init -|psub)
|
||||||
type -q pyenv; and source (pyenv init -|psub)
|
type -q pyenv; and source (pyenv init -|psub)
|
||||||
type -q pyenv; and source (pyenv virtualenv-init -|psub)
|
type -q pyenv; and source (pyenv virtualenv-init -|psub)
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ set -q HOSTNAME; or set -x HOSTNAME (hostname -s)
|
|||||||
# Add local bin to path
|
# Add local bin to path
|
||||||
fish_add_path "$XDG_BIN_HOME"
|
fish_add_path "$XDG_BIN_HOME"
|
||||||
|
|
||||||
|
# Add mise shims to path
|
||||||
|
fish_add_path "$XDG_DATA_HOME/mise/shims"
|
||||||
|
|
||||||
# Add cargo bin to path
|
# Add cargo bin to path
|
||||||
fish_add_path "$XDG_SHARE_HOME/cargo/bin"
|
fish_add_path "$XDG_SHARE_HOME/cargo/bin"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user