nixos/config/fish/conf.d/local_paths.fish

7 lines
299 B
Fish
Raw Normal View History

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