Skip to content

Instantly share code, notes, and snippets.

@celeen
Created May 9, 2015 19:39
Show Gist options
  • Save celeen/fbab2c7a4892f47e6e4a to your computer and use it in GitHub Desktop.
Save celeen/fbab2c7a4892f47e6e4a to your computer and use it in GitHub Desktop.
my bash prompt
alias ..='cd ..'
# alias go_jenkins=‘launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist’
# alias stop_jenkins=‘launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist’
alias getcurl='python ~/Documents/scripts/curl_extractor.py'
alias getbash='subl ~/.bash_profile'
alias startHub='java -jar ~/Work/selenium/selenium-server-standalone-2.44.0.jar -role hub'
alias be='bundle exec'
alias scheme='/Applications/mit-scheme.app/Contents/Resources/mit-scheme'
magic_nosetests () {
nosetests --with-specplugin $1
}
prettynose () {
nosetests -v --nologcapture $1
}
mcd () {
mkdir -p $1
cd $1
}
faces () {
if [[ $? = 0 ]]
then
echo 😍
elif [[ $? == 1 ]]
then
echo 😨
fi
}
PS1="\n🌳 \e[1;35m \u: \e[0;32m\w \e[0;38m\A \n\`faces\` "
export PATH=$PATH:/usr/local/sbin
export EDITOR='subl -w'
eval "$(rbenv init -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment