Update path generation
This commit is contained in:
parent
661865034a
commit
b12a3ab989
13
bash/path
13
bash/path
|
@ -1,17 +1,17 @@
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
# Local user bin
|
# Local user bin
|
||||||
if [ -d "$HOME/bin" ] ; then
|
if [ -d "$HOME/bin" ]; then
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
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"
|
#PATH="$HOME/.local/bin:$HOME/.local/bin/firefox:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [ -d "$HOME/.local/share/applications" ] ; then
|
#if [ -d "$HOME/.local/share/applications" ] ; then
|
||||||
#export PATH="$HOME/.local/share/applications/:$PATH"
|
#export PATH="$HOME/.local/share/applications/:$PATH"
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# Nix Packages
|
# Nix Packages
|
||||||
|
@ -20,15 +20,18 @@ if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Private scripts
|
# Private scripts
|
||||||
if [ -d "$HOME/.private-scripts" ] ; then
|
if [ -d "$HOME/.private-scripts" ]; then
|
||||||
PATH="$HOME/.private-scripts:$PATH"
|
PATH="$HOME/.private-scripts:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Public scripts
|
# Public scripts
|
||||||
if [ -d "$HOME/scripts" ] ; then
|
if [ -d "$HOME/scripts" ]; then
|
||||||
PATH="$HOME/scripts:$PATH"
|
PATH="$HOME/scripts:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Perl
|
||||||
|
PATH="${HOME}/go/bin:$PATH"
|
||||||
|
|
||||||
# Perl
|
# Perl
|
||||||
PATH="${HOME}/perl5/bin:$PATH"
|
PATH="${HOME}/perl5/bin:$PATH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue