diff options
author | tdro <tdro@users.noreply.github.com> | 2020-12-18 04:37:27 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-12-18 04:37:27 -0500 |
commit | 8697223f144566aaf5ce1c533445f9e9581fc3fe (patch) | |
tree | a164fa9932d53fc885d33db7a955ade0573efb2c | |
parent | d59cccd05237fe93c3a97799923ff25f56a74b8b (diff) | |
download | dotfiles-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.
-rw-r--r-- | .bash_profile | 2 |
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" |