From 4d455c18efee886bb513b3ef586a6a4e9070299b Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 13 Sep 2024 01:33:52 -0400 Subject: [PATCH] fix some bashrc stuff --- bash/.bash_profile | 2 ++ bash/.bashrc | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 69f6043..3221546 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -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" diff --git a/bash/.bashrc b/bash/.bashrc index a6e8305..3e25f19 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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)