mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
fix(fish): problem with PATH order
This commit is contained in:
@@ -70,44 +70,40 @@ set -x VOLTA_HOME $HOME/.volta
|
|||||||
|
|
||||||
# *** *** Session Paths *** ***
|
# *** *** Session Paths *** ***
|
||||||
|
|
||||||
# Volta
|
|
||||||
fish_add_path $VOLTA_HOME/bin
|
|
||||||
|
|
||||||
# Rust
|
|
||||||
fish_add_path $HOME/.cargo/bin
|
|
||||||
|
|
||||||
# tmux plugins
|
|
||||||
fish_add_path $HOME/.tmux/plugins/tmux-nvr/bin
|
|
||||||
fish_add_path $HOME/.tmux/plugins/t-smart-tmux-session-manager/bin
|
|
||||||
|
|
||||||
# Personal
|
|
||||||
fish_add_path $HOME/.dotfiles/bin
|
|
||||||
fish_add_path $HOME/.dotfiles/private/bin
|
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
fish_add_path (brew --prefix)/bin
|
eval "$($brew_prefix/bin/brew shellenv)"
|
||||||
fish_add_path (brew --prefix)/sbin
|
|
||||||
fish_add_path (brew --prefix)/whalebrew/bin
|
|
||||||
|
|
||||||
# System
|
|
||||||
fish_add_path /usr/bin
|
|
||||||
fish_add_path /usr/local/bin
|
|
||||||
fish_add_path /usr/local/sbin
|
|
||||||
|
|
||||||
# asdf
|
# asdf
|
||||||
fish_add_path $HOME/.asdf/shims
|
set -l asdf_path (brew --prefix asdf)
|
||||||
|
if test -f $asdf_path/libexec/asdf.fish
|
||||||
|
source $asdf_path/libexec/asdf.fish
|
||||||
|
set -x PATH $HOME/.asdf/shims $PATH
|
||||||
|
end
|
||||||
|
|
||||||
|
# Volta
|
||||||
|
set -x PATH $PATH $VOLTA_HOME/bin
|
||||||
|
|
||||||
|
# Rust
|
||||||
|
set -x PATH $PATH $HOME/.cargo/bin
|
||||||
|
|
||||||
|
# tmux plugins
|
||||||
|
set -x PATH $PATH $HOME/.tmux/plugins/tmux-nvr/bin
|
||||||
|
set -x PATH $PATH $HOME/.tmux/plugins/t-smart-tmux-session-manager/bin
|
||||||
|
|
||||||
|
# Personal
|
||||||
|
set -x PATH $PATH $HOME/.dotfiles/bin
|
||||||
|
set -x PATH $PATH $HOME/.dotfiles/private/bin
|
||||||
|
|
||||||
|
# System
|
||||||
|
set -x PATH $PATH /usr/bin
|
||||||
|
set -x PATH $PATH /usr/local/bin
|
||||||
|
set -x PATH $PATH /usr/local/sbin
|
||||||
|
|
||||||
# Stable Diffusion Webui
|
# Stable Diffusion Webui
|
||||||
# set VIRTUAL_ENV $HOME/Code/AI/stable-diffusion-webui/venv
|
# set VIRTUAL_ENV $HOME/Code/AI/stable-diffusion-webui/venv
|
||||||
|
|
||||||
# *** *** Tools *** ***
|
# *** *** Tools *** ***
|
||||||
|
|
||||||
# Homebrew
|
|
||||||
eval "$($brew_prefix/bin/brew shellenv)"
|
|
||||||
|
|
||||||
# asdf
|
|
||||||
source (brew --prefix asdf)/libexec/asdf.fish
|
|
||||||
|
|
||||||
# GitHub CLI completion
|
# GitHub CLI completion
|
||||||
if command -v gh >/dev/null 2>&1
|
if command -v gh >/dev/null 2>&1
|
||||||
eval "$(gh completion -s fish)"
|
eval "$(gh completion -s fish)"
|
||||||
|
|||||||
Reference in New Issue
Block a user