Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. # if not running interactively, don't do anything
  2. [[ $- != *i* ]] && return
  3.  
  4. # bash completion
  5. if ! shopt -oq posix; then
  6. if [ -f /usr/share/bash-completion/bash_completion ]; then
  7. . /usr/share/bash-completion/bash_completion
  8. elif [ -f /etc/bash_completion ]; then
  9. . /etc/bash_completion
  10. fi
  11. fi
  12. # run ls with color
  13. alias ls='ls --color=auto'
  14.  
  15. # command prompt
  16. PS1='\w \\$ '
  17.  
  18. #aliases
  19. alias rf='rm -rf'
  20. alias ll='ls -1'
  21. alias la='ls -al'
  22. alias hm='cd ~'
  23.  
  24. # add to path
  25. export PATH="$HOME/.scripts/":$PATH
  26. export PATH="$PATH:/usr/local/go/bin"
  27. export GOPATH="$HOME/Desktop/go"
  28. export PATH="$PATH:$(go env GOPATH)/bin"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement