dotfiles/.bashrc

23 lines
506 B
Bash
Raw Normal View History

2021-02-20 00:39:48 +00:00
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)"