From 1856b1d3ab5c7dc61e6fe270f3253329f3912cec Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Wed, 2 Nov 2022 22:41:37 +0100 Subject: Adding cargo to .bashrc and .profile --- dot_bashrc | 4 +--- dot_profile | 1 + 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" -- cgit v1.2.3