Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

78 lines (58 sloc) 1.771 kB
#if status --is-login
for p in ~/.config/fish/bin /opt/android-sdk-linux/tools /opt/sublime /opt/scala/bin /opt/maven/bin $HOME/.rbenv/bin $HOME/.rbenv/shims ./bin
if test -d $p
set PATH $p $PATH
end
end
#end
# Textmate defaults to /usr/bin/mate, but let's check for /usr/local/bin/mate
if test -f "/usr/local/bin/mate"
set -x EDITOR "/usr/local/bin/mate -w"
else
set -x EDITOR "/usr/bin/mate -w"
end
set fish_greeting ""
set -x CLICOLOR 1
function parse_git_branch
sh -c 'git branch --no-color 2> /dev/null' | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
end
function parse_svn_revision
sh -c 'svn info 2> /dev/null' | sed -n '/^Revision/p' | sed -e 's/^Revision: \(.*\)/\1/'
end
function fish_prompt -d "Write out the prompt"
# Color writeable dirs green, read-only dirs red
if test -w "."
printf ' %s%s' (set_color green) (prompt_pwd)
else
printf ' %s%s' (set_color red) (prompt_pwd)
end
# Print subversion revision
if test -d ".svn"
printf ' %s%s@%s' (set_color normal) (set_color blue) (parse_svn_revision)
end
# Print git branch
if test -d ".git"
printf ' %s%s/%s' (set_color normal) (set_color blue) (parse_git_branch)
end
printf '%s> ' (set_color normal)
end
set BROWSER open
bind \cr "rake"
function ss -d "Run the script/server"
script/server
end
function sc -d "Run the Rails console"
script/console
end
set -x MAVEN_OPTS -Xmx512m
set -x TORQUEBOX_HOME /opt/torquebox
set -x JBOSS_HOME $TORQUEBOX_HOME/jboss
set -x JRUBY_OPTS "--1.9 --client -Xcext.enabled=true"
set -x EC2_PRIVATE_KEY (/bin/ls ~/.ec2_mogo/pk-*.pem)
set -x EC2_CERT (/bin/ls ~/.ec2_mogo/cert-*.pem)
# Set up go language environment.
set -x GOARCH amd64
set -x GOOS darwin
set -x ARCHFLAGS "-arch x86_64"
# Set up SSH key agent forwarding
ssh-add
Jump to Line
Something went wrong with that request. Please try again.