Last active
August 29, 2015 14:03
-
-
Save Widdershin/406b3a7cd8707741e1aa to your computer and use it in GitHub Desktop.
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
# Add yourself some shortcuts to projects you often work on | |
# Example: | |
# | |
# brainstormr=/Users/robbyrussell/Projects/development/planetargon/brainstormr | |
# | |
spec () { | |
command touch "spec/$1_spec.rb" | |
} | |
tunnel () { | |
ssh -f -N -q -L $1\:localhost:$1 $2 | |
} | |
p () { | |
cd ~/Projects/$1 | |
} | |
_p() { _files -W ~/Projects -/; } | |
compdef _p p | |
alias t="tree -C" | |
alias rc="rspec && git commit -v" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment