Replaced 'set' path with fish_add_path

This commit is contained in:
Afonso Franco 2022-11-22 18:07:26 +00:00
parent 2748950589
commit 308df45f15
Signed by: afonso
GPG key ID: C459E0BB3DCEE899

View file

@ -33,6 +33,7 @@ function u
sudo pacman -Syu $argv sudo pacman -Syu $argv
end end
set PATH /home/afonso/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin $PATH
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/afonso/.ghcup/bin $PATH # ghcup-env set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/afonso/.ghcup/bin $PATH # ghcup-env
set PATH $HOME/.local/bin $HOME/.cargo/bin $HOME/.local/bin $PATH fish_add_path /home/afonso/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin
fish_add_path $HOME/.local/bin
fish_add_path $HOME/.cargo/bin