a guest Jun 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # if not running interactively, don't do anything
- [[ $- != *i* ]] && return
- # bash completion
- if ! shopt -oq posix; then
- if [ -f /usr/share/bash-completion/bash_completion ]; then
- . /usr/share/bash-completion/bash_completion
- elif [ -f /etc/bash_completion ]; then
- . /etc/bash_completion
- # run ls with color
- alias ls='ls --color=auto'
- # command prompt
- PS1='\w \\$ '
- alias rf='rm -rf'
- alias ll='ls -1'
- alias la='ls -al'
- alias hm='cd ~'
- # add to path
- export PATH="$HOME/.scripts/":$PATH
- export PATH="$PATH:/usr/local/go/bin"
- export GOPATH="$HOME/Desktop/go"
- export PATH="$PATH:$(go env GOPATH)/bin"
RAW Paste Data