home/bash | path clean up

This commit is contained in:
Don Harper 2025-07-10 20:30:46 -05:00
parent e50f14e61c
commit b3aff0fe6f

View file

@ -24,7 +24,7 @@ YELLOW=''
RED='' RED=''
NONE='' NONE=''
export NONE GREEN YELLOW RED export NONE GREEN YELLOW RED
PATH="/run/wrappers/bin:${HOME}/.nix-profile/bin:/etc/profiles/per-user/${USER}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:${HOME}/bin:${HOME}/go/bin:${HOME}/.local/bin" PATH="${HOME}/bin:/run/wrappers/bin:${HOME}/.nix-profile/bin:/etc/profiles/per-user/${USER}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:${HOME}/go/bin:${HOME}/.local/bin"
export PATH export PATH
export GOPATH="${HOME}/go" export GOPATH="${HOME}/go"
@ -58,8 +58,6 @@ export OS_SYS OS_REL OS_TYPE OS_CPU LESS
test -f "${HOME}/.bash_functions" && source "${HOME}/.bash_functions" test -f "${HOME}/.bash_functions" && source "${HOME}/.bash_functions"
test -d "${HOME}/bin/${HOSTNAME_SHORT}" && PATH="${PATH}:${HOME}/bin/${HOSTNAME_SHORT}" test -d "${HOME}/bin/${HOSTNAME_SHORT}" && PATH="${PATH}:${HOME}/bin/${HOSTNAME_SHORT}"
test -d "${HOME}/bin/${OS_CPU}" && PATH="${PATH}:${HOME}/bin/${OS_CPU}" test -d "${HOME}/bin/${OS_CPU}" && PATH="${PATH}:${HOME}/bin/${OS_CPU}"
test -d "${HOME}/bin" && PATH="${PATH}:${HOME}/bin"
test -d "${HOME}/.local/bin" && PATH="${PATH}:${HOME}/.local/bin"
test -d "${HOME}/.cargo/bin" && PATH="${PATH}:${HOME}/.cargo/bin" test -d "${HOME}/.cargo/bin" && PATH="${PATH}:${HOME}/.cargo/bin"
test -d "${HOME}/.local/share/gem" && PATH="${PATH}:${HOME}/.local/share/gem/ruby/latest/bin" test -d "${HOME}/.local/share/gem" && PATH="${PATH}:${HOME}/.local/share/gem/ruby/latest/bin"
test -d /usr/local/sbin && PATH="${PATH}:/usr/local/sbin" test -d /usr/local/sbin && PATH="${PATH}:/usr/local/sbin"