nixos/config/fish/conf.d/local_paths.fish
2023-02-25 09:52:25 +00:00

7 lines
299 B
Fish

if status is-interactive
set -l LOCAL_BIN "$HOME/.local/bin"
set -l DOTFILES_BIN "$HOME/.dotfiles/bin"
echo $PATH | grep -i $LOCAL_BIN - > /dev/null 2>&1 || set -gx PATH $PATH $LOCAL_BIN
echo $PATH | grep -i $DOTFILES_BIN - > /dev/null 2>&1 || set -gx PATH $PATH $DOTFILES_BIN
end