mirror of https://tildegit.org/ben/dotfiles
fix some bashrc stuff
parent
5e547e1f33
commit
4d455c18ef
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
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
|
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"
|
||||||
|
|
|
@ -132,13 +132,6 @@ shopt -s autocd
|
||||||
|
|
||||||
# MY STUFF!!
|
# 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#
|
[ -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)
|
user_paths=(~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin)
|
||||||
|
|
Loading…
Reference in New Issue