Clean path

This commit is contained in:
John Mertz 2023-10-05 18:34:00 +00:00
parent 381d828c8c
commit f048134bc3
1 changed files with 9 additions and 6 deletions

View File

@ -7,13 +7,16 @@ if [ -d "$HOME/bin" ]; then
fi fi
if [ -d "$HOME/.local/bin" ]; then if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin::$PATH" PATH="$HOME/.local/bin:$PATH"
#PATH="$HOME/.local/bin:$HOME/.local/bin/firefox:$PATH"
fi fi
#if [ -d "$HOME/.local/share/applications" ] ; then if [ -d "$HOME/.local/share/bin" ]; then
#export PATH="$HOME/.local/share/applications/:$PATH" PATH="$HOME/.local/share/bin:$PATH"
#fi fi
if [ -d "$HOME/.local/share/applications" ] ; then
PATH="$HOME/.local/share/applications/:$PATH"
fi
# Nix Packages # Nix Packages
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
@ -30,7 +33,7 @@ if [ -d "$HOME/scripts" ]; then
PATH="$HOME/scripts:$PATH" PATH="$HOME/scripts:$PATH"
fi fi
# Perl # Go
PATH="${HOME}/go/bin:$PATH" PATH="${HOME}/go/bin:$PATH"
# Perl # Perl