Last active
August 29, 2015 14:03
-
-
Save mppatterson/9fc5cf466b820dfc2b81 to your computer and use it in GitHub Desktop.
All of the bash aliases I use on a regular basis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rails(){ | |
bundle exec spring rails "$@" | |
} | |
function rake(){ | |
bundle exec spring rake "$@" | |
} | |
function rspec(){ | |
bundle exec spring rspec "$@" | |
} | |
alias ..='cd ..' | |
alias ...='cd ../../' | |
alias ....='cd ../../../' | |
alias .....='cd ../../../../' | |
# Alias "cd" to use "c" from humanism.sh | |
alias cd='c' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install by appending to bash_aliases | |
curl https://gist.githubusercontent.com/mppatterson/9fc5cf466b820dfc2b81/raw/cc733749f80b29f8dfa55e7058a740925ed6eb14/bash_aliases -o /tmp/spring_bash_aliases && cat /tmp/spring_bash_aliases >> ~/.bash_aliases && . ~/.bash_aliases && rm /tmp/spring_bash_aliases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment