aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-12-18 04:37:27 -0500
committertdro <tdro@users.noreply.github.com>2020-12-18 04:37:27 -0500
commit8697223f144566aaf5ce1c533445f9e9581fc3fe (patch)
treea164fa9932d53fc885d33db7a955ade0573efb2c /.bash_profile
parentd59cccd05237fe93c3a97799923ff25f56a74b8b (diff)
downloaddotfiles-8697223f144566aaf5ce1c533445f9e9581fc3fe.tar.gz
dotfiles-8697223f144566aaf5ce1c533445f9e9581fc3fe.tar.bz2
dotfiles-8697223f144566aaf5ce1c533445f9e9581fc3fe.zip
.bash_profile: Execute exports once
Since my bashrc and bash_profile are calling each other.
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index b8381b3..57ed40c 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -24,7 +24,7 @@ PS1_SSHD='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;32m\]\W\[\e[0m\] \[\e[0;32
[ -n "$SSH_CLIENT" ] && [ "$EUID" != 0 ] && export PS1="$PS1_SSHD";
# path exports
-export PATH="$HOME/.local/bin:$PATH"
+[ -z "$BASH_PROFILE" ] && export PATH="$HOME/.local/bin:$PATH"
# general exports
export CARGO_HOME="$XDG_CACHE_HOME/cargo"