Created
May 2, 2011 13:06
-
-
Save wescleymatos/951585 to your computer and use it in GitHub Desktop.
Minhas alterações no .bashrc
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
#config rvm | |
[[ -s "/home/wescley/.rvm/scripts/rvm" ]] && source "/home/wescley/.rvm/scripts/rvm" | |
#config path java | |
export JAVA_HOME=/usr/lib/jvm/java-6-sun | |
export PATH=/usr/lib/jvm/java-6-sun/bin:$PATH | |
#config path grails | |
export PATH=~/.grails/bin:$PATH | |
export GRAILS_HOME=~/.grails | |
#config path griffon | |
export PATH=~/.griffon/bin:$PATH | |
export GRIFFON_HOME=~/.griffon | |
#config path play | |
export PLAY_HOME=~/.play-1.2.4 | |
export PATH=$PATH:$PLAY_HOME | |
#config colors | |
RED="[31m" | |
hg_branch() { | |
hg branch 2> /dev/null | \ | |
awk '{ printf "\033[37m hg:\033[35m" $1 }' | |
hg bookmarks 2> /dev/null | \ | |
awk '/\*/ { printf "\033[37m at \033[33m" $2 }' | |
} | |
export PS1='\[\033[33m\]\W \[\033[35m\]$(hg_branch) `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/git:\\\\\1\ /`\n\[\033[37m\]$\[\033[00m\] ' |
Não, não o conhecia. Essas ai são minhas configurações do bashrc com os paths dos frameworks que usam a JVM pra rodar.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Já tentou o Oh! My ZSH? Recomendo!!!