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
|
||||
|
||||
# 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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue