Created
January 16, 2014 19:54
-
-
Save ericdcobb/8462193 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
| alias ij='open -a /Applications/IntelliJ\ IDEA\ 13.app/' | |
| alias grun='java org.antlr.v4.runtime.misc.TestRig' | |
| set -x CLASSPATH '.:/usr/local/Cellar/antlr/4.1/antlr-4.1-complete.jar:$CLASSPATH' | |
| set PATH ~/ansiweather/ $PATH | |
| set PATH /usr/include/ $PATH | |
| set -x JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home | |
| function fish_prompt | |
| set_color $fish_color_cwd | |
| echo -n (prompt_pwd) | |
| git_info | |
| set_color normal | |
| echo -n ' > ' | |
| end | |
| function git_info | |
| set_color purple | |
| echo -n ' ' (parse_git_branch) | |
| end | |
| function parse_git_branch | |
| sh -c 'git branch --no-color 2> /dev/null' | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
| end | |
| function fish_greeting | |
| set_color blue | |
| date "+%m/%d/%y %H:%M:%S" | |
| set_color normal | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍