nixos/config/fish/conf.d/local_paths.fish
2023-02-27 10:39:04 +00:00

7 lines
363 B
Fish

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