tangled
alpha
login
or
join now
benharri.org
/
dotfiles
0
fork
atom
my shell and tool configurations
0
fork
atom
overview
issues
pulls
pipelines
fix some bashrc stuff
benharri.org
2 years ago
4d455c18
5e547e1f
+2
-7
2 changed files
expand all
collapse all
unified
split
bash
.bash_profile
.bashrc
+2
bash/.bash_profile
···
3
3
4
4
export PATH="$HOME/.cargo/bin:$PATH"
5
5
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
6
6
+
7
7
+
. "$HOME/.cargo/env"
-7
bash/.bashrc
···
132
132
133
133
# MY STUFF!!
134
134
135
135
-
suicidePostCommand() {
136
136
-
if [ $? -ne 0 ]; then
137
137
-
echo "$(tput setaf 3)====$(tput setaf 1)$(tput bold)$(echo -n $(shuf -n1 ~/insults.txt))$(tput sgr0)$(tput setaf 3)====$(tput sgr0)"
138
138
-
fi
139
139
-
}
140
140
-
PROMPT_COMMAND=suicidePostCommand
141
141
-
142
135
[ -r /home/ben/.byobu/prompt ] && . /home/ben/.byobu/prompt #byobu-prompt#
143
136
144
137
user_paths=(~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin)