Update path generation

This commit is contained in:
John Mertz 2023-07-16 14:38:39 -04:00
parent 661865034a
commit b12a3ab989
1 changed files with 17 additions and 14 deletions

View File

@ -1,17 +1,17 @@
# vim: ft=sh
# Local user bin
if [ -d "$HOME/bin" ] ; then
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin::$PATH"
#PATH="$HOME/.local/bin:$HOME/.local/bin/firefox:$PATH"
fi
#if [ -d "$HOME/.local/share/applications" ] ; then
#export PATH="$HOME/.local/share/applications/:$PATH"
#export PATH="$HOME/.local/share/applications/:$PATH"
#fi
# Nix Packages
@ -20,15 +20,18 @@ if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
fi
# Private scripts
if [ -d "$HOME/.private-scripts" ] ; then
if [ -d "$HOME/.private-scripts" ]; then
PATH="$HOME/.private-scripts:$PATH"
fi
# Public scripts
if [ -d "$HOME/scripts" ] ; then
if [ -d "$HOME/scripts" ]; then
PATH="$HOME/scripts:$PATH"
fi
# Perl
PATH="${HOME}/go/bin:$PATH"
# Perl
PATH="${HOME}/perl5/bin:$PATH"