~/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.profile 658B

123456789101112131415161718192021222324252627
  1. # ~/.profile
  2. if [ -n "$SSH_CLIENT" -a -z "`type -P cat`" ]; then
  3. source /etc/profile
  4. fi
  5. [[ -f /etc/profile ]] && source /etc/profile
  6. [[ -f ~/.alias ]] && source ~/.alias
  7. GOBIN="$GOPATH/bin"
  8. GOPATH="$HOME/.local/gopath"
  9. PROGPATH="$GOBIN:$GOPATH:$GOROOT"
  10. GLOBALPATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
  11. LOCALPATH="$HOME/.local/bin:$HOME/.bin:$HOME/bin"
  12. EDITOR="vim"
  13. ENV="$HOME/.shrc"
  14. HISTTIMEFORMAT="(%m/%d/%y) %T "
  15. LANG="en_US.UTF-8"
  16. PATH="$GLOBALPATH:$LOCALPATH:$PROGPATH"
  17. PROMPT_COMMAND='history -a'
  18. PS1="[\u@\h \W]$ "
  19. TERM="xterm-256color"
  20. export EDITOR ENV GOBIN GOPATH HISTTIMEFORMAT LANG \
  21. PATH PROMPT_COMMAND PS1 TERM