Skip to content

Instantly share code, notes, and snippets.

@ihodes
Created May 13, 2014 15:32
Show Gist options
  • Save ihodes/838e4f26c5bb3913e498 to your computer and use it in GitHub Desktop.
Save ihodes/838e4f26c5bb3913e498 to your computer and use it in GitHub Desktop.
export PS1="\w > "
export PATH="~/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/heroku/bin"
export EDITOR=emacs
alias l="ls -aG"
alias ll="ls -alG"
alias ls="ls -G"
alias k="kill"
alias e="emacs"
alias gs="git status"
alias gl="git log"
alias ga="git add"
alias gcm="git commit -m"
# Dev at Hammerlabs
alias pq="~/workspace/parquet-mr/parquet-tools/target/parquet-tools-1.4.2-SNAPSHOT/parquet-tools"
adam_jar="~/workspace/adam-0.9.0/adam-cli/target/adam-0.9.0.jar"
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128M"
export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
#alias adam="java -Xmx4g -jar $adam_jar" replaced with ~/bin/adam
# Because OS X is buggy, sometimes when you mount a disk with copies of applications on it (such as a backup disk), when you hit the Open With menu in Finder, many copies of the same applications are suggested. This is annoying. Hence the following line.
alias remove_duplicates="/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user"
function take {
mkdir $1
cd $1
}
function fixd {
export PS1=${PS1/\w/\W}
}
source ~/bin/z.sh
# typing name of dir (including ., ..) will cd to it.
shopt -s autocd
# read bashrc in login shell
[[ -r ~/.bashrc ]] && . ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment