Created
June 9, 2016 04:52
-
-
Save arfon/5b80adf6df97bc8b28cc19464b4f367e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$PS1" ]; then | |
#PS1="[\u@\h:\w] " | |
PS1="\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]" | |
PS1="\[\033[01;32m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" | |
#case `id -u` in | |
# 0) PS1="${PS1}# ";; | |
# *) PS1="${PS1}$ ";; | |
#esac | |
fi | |
if test -f ~/.gnupg/.gpg-agent-info -a -n "$(pgrep gpg-agent)"; then | |
source ~/.gnupg/.gpg-agent-info | |
export GPG_AGENT_INFO | |
else | |
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info) | |
fi | |
export TERM=xterm-color | |
export CLICOLOR=true | |
export LSCOLORS=exfxcxdxbxegedabagacad | |
export PS1='\[\033[01;32m\]\u@\h \w \[\033[31m\]`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\[\033[37m\]$\[\033[00m\] ' | |
export R_HOME=/usr/local/Cellar/r/3.2.3/R.framework/Resources | |
export RBENV_ROOT=/usr/local/var/rbenv | |
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi | |
export PATH="bin:/usr/local/sbin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment