From 8697223f144566aaf5ce1c533445f9e9581fc3fe Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 18 Dec 2020 04:37:27 -0500 Subject: .bash_profile: Execute exports once Since my bashrc and bash_profile are calling each other. --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash_profile') 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" -- cgit v1.2.3