add bashrc

This commit is contained in:
Morgan McMillian 2021-02-19 16:39:48 -08:00
parent 514d1ed227
commit 10e40b76af

22
.bashrc Normal file
View file

@ -0,0 +1,22 @@
set -o vi
export GOPATH="/home/thrrgilag/go"
export PATH=$PATH:/usr/local/go/bin
alias df='df -x squashfs'
alias news='mutt -e "source ~/.config/mutt/news"'
alias mmutt='mutt -e "source ~/.config/mutt/mcmillian"'
alias wttr='curl wttr.in'
# set my titlebars
function set_win_title(){
echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"
}
starship_precmd_user_func="set_win_title"
if [ -n "$DISPLAY" ]; then
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
fi
eval "$(starship init bash)"