add bashrc
This commit is contained in:
parent
514d1ed227
commit
10e40b76af
1 changed files with 22 additions and 0 deletions
22
.bashrc
Normal file
22
.bashrc
Normal 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)"
|
Loading…
Reference in a new issue