Guest User

Untitled

a guest
Jul 17th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. eval "$(direnv hook bash)"
  2.  
  3. export EDITOR=/usr/bin/nano
  4.  
  5. #export PS1='\h:\W \u\$ ' # もともと入ってた値
  6. source /usr/local/etc/bash_completion.d/git-prompt.sh
  7. source /usr/local/etc/bash_completion.d/git-completion.bash
  8. GIT_PS1_SHOWDIRTYSTATE=true
  9. export PS1='\h:\W $(if [ -d .git ]; then __git_ps1 " \e[32m(%s)\e[m" ; else echo \u; fi) \$ '
Add Comment
Please, Sign In to add comment