fix some bashrc stuff

master
Ben Harris 2024-09-13 01:33:52 -04:00
parent 5e547e1f33
commit 4d455c18ef
2 changed files with 2 additions and 7 deletions

View File

@ -3,3 +3,5 @@
export PATH="$HOME/.cargo/bin:$PATH"
if [ -e /home/ben/.nix-profile/etc/profile.d/nix.sh ]; then . /home/ben/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
. "$HOME/.cargo/env"

View File

@ -132,13 +132,6 @@ shopt -s autocd
# MY STUFF!!
suicidePostCommand() {
if [ $? -ne 0 ]; then
echo "$(tput setaf 3)====$(tput setaf 1)$(tput bold)$(echo -n $(shuf -n1 ~/insults.txt))$(tput sgr0)$(tput setaf 3)====$(tput sgr0)"
fi
}
PROMPT_COMMAND=suicidePostCommand
[ -r /home/ben/.byobu/prompt ] && . /home/ben/.byobu/prompt #byobu-prompt#
user_paths=(~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin)