Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (38 sloc) 1.056 kb
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export JRUBY_OPTS=--1.9
export RBXOPT=-X19
# User specific aliases and functions
export PATH="$HOME/bin:/opt/darktable/bin:$PATH"
export RUBYOPT="-rubygems"
export EDITOR="gvim -v"
export GITHUB_USER=jonleighton
export GITHUB_TOKEN=`cat ~/.github_token`
export TERM=xterm-256color
alias git=hub
alias g=git
alias gs="git status"
alias gd="git diff"
alias gc="git commit"
alias gca="git commit --amend -C HEAD"
alias gg="git grep"
alias be="bundle exec"
alias top=htop
alias vim="gvim -v"
alias t="ruby -Itest"
alias irb="pry"
parse_git_branch() {
branch=$(/usr/bin/git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
if [ -n "$branch" ]; then
echo -ne ":$branch";
fi
}
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(parse_git_branch)\[\033[00m\]\$ '
complete -cf sudo
# This is necessary to stop direnv invoking rbenv and fucking with the PATH
export DIRENV_RUBY="/usr/bin/ruby"
eval `direnv hook $0`
chruby 2.2.0
Jump to Line
Something went wrong with that request. Please try again.