aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2022-11-02 22:41:37 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2022-11-02 22:41:37 +0100
commit1856b1d3ab5c7dc61e6fe270f3253329f3912cec (patch)
tree50f4b19b0c35f11009d3f553a2ae4bb8760c97ab
parentadad25c73c468168391cfeed86d530d937abf553 (diff)
Adding cargo to .bashrc and .profile
-rw-r--r--dot_bashrc4
-rw-r--r--dot_profile1
2 files changed, 2 insertions, 3 deletions
diff --git a/dot_bashrc b/dot_bashrc
index 70c61d1..20f8fc1 100644
--- a/dot_bashrc
+++ b/dot_bashrc
@@ -16,12 +16,9 @@ export XDG_STATE_HOME="$HOME"/.local/state
export XDG_CACHE_HOME="$HOME"/.cache
export ANSIBLE_HOME="$XDG_DATA_HOME"/ansible
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
-export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
-export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export ANDROID_HOME="$XDG_DATA_HOME"/android
export HISTFILE="$XDG_STATE_HOME"/bash/history
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
-export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/python/pythonrc
PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1
@@ -29,3 +26,4 @@ PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
figlet "$0" | lolcat -f -r -l -v 1 -h 1
+. "$HOME/.cargo/env"
diff --git a/dot_profile b/dot_profile
index 46f5ea5..f6da4ac 100644
--- a/dot_profile
+++ b/dot_profile
@@ -26,3 +26,4 @@ echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && . "$HOME/.bashrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
+. "$HOME/.cargo/env"