daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export CLICOLOR=1
  2. export GREP_COLOR='1;37'
  3. export GREP_OPTIONS='--color=auto'
  4. export LSCOLORS=ExFxCxDxBxegedabagacad
  5.  
  6. # 30: Black | 31: Red | 32: Green | 33: Yellow | 34: Blue | 35: Purple | 36: Cyan | 37: White | green others...
  7. # 0: Normal | 1: Bold
  8. prompt() {
  9.   local CYAN='\[\033[0;36m\]'
  10.   local PURPLE='\[\033[0;35m\]'
  11.   local RED='\[\033[0;31m\]'
  12.   local WHITE='\[\033[0;37m\]'
  13.   local YELLOW='\[\033[0;33m\]'
  14.   local LIME_YELLOW=$(tput setaf 190)
  15.   local POWDER_BLUE=$(tput setaf 153)
  16.   local GRAY="\[\033[0;30m\]"
  17.   local LIGHT_GRAY="\[\033[1;30m\]"
  18.   local LIGHT_YELLOW="\[\033[1;33m\]"
  19.   local LIGHT_CYAN="\[\033[1;31m\]"
  20.   local LIGHT_WHITE="\[\033[1;37m\]"
  21.   local MAGENTA=$(tput setaf 5)
  22.  
  23.   export PS1="${LIGHT_GRAY}\u${YELLOW}@ ${POWDER_BLUE}\w${LIME_YELLOW} \$(parse_git_branch) ${PURPLE}- \[\e[m\]\[\e[m\]"
  24. }; prompt
  25.  
  26. parse_git_branch() {
  27.   git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
  28. }
  29.  
  30. if [ -f ~/.bash_aliases ]; then
  31.     . ~/.bash_aliases
  32. fi
  33.  
  34. export NVM_DIR="/Users/adalberto/.nvm"
  35. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
  36.  
  37. #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
  38. export SDKMAN_DIR="/Users/adalberto/.sdkman"
  39. [[ -s "/Users/adalberto/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/adalberto/.sdkman/bin/sdkman-init.sh"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top