diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..5a3c284 --- /dev/null +++ b/.bashrc @@ -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)"