Skip to content

Instantly share code, notes, and snippets.

@ericdcobb
Created January 16, 2014 19:54
Show Gist options
  • Save ericdcobb/8462193 to your computer and use it in GitHub Desktop.
Save ericdcobb/8462193 to your computer and use it in GitHub Desktop.
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
@jfairley
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment