Last active
December 19, 2015 00:49
-
-
Save etjossem/5871114 to your computer and use it in GitHub Desktop.
Navigation aliases for the many Goodsmiths projects.
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
# Semi-automatic dev environment. Each of these will open up the relevant goodsmiths app directory in a new window. | |
alias cdgs="cd ~/projects/goodsmiths" | |
alias cdre="cd ~/projects/goodsmiths_recommendation_engine" | |
alias cdas="cd ~/projects/goodsmiths_activity_stream" | |
alias cdge="cd ~/projects/gaminator" | |
alias cdgg="cd ~/projects/good_guy_project" | |
# Fully automatic dev environment. Starts up GS each app in its own tab of a new gnome-terminal (Ubuntu) | |
alias gsup="gnome-terminal --geometry=170x40 \ | |
--tab --working-directory=$HOME/projects/goodsmiths \ | |
--tab --working-directory=$HOME/projects/goodsmiths_recommendation_engine \ | |
--tab --working-directory=$HOME/projects/goodsmiths_activity_stream \ | |
--tab --working-directory=$HOME/projects/gaminator \ | |
--tab --working-directory=$HOME/projects/good_guy_project \ | |
" | |
# C'mon, set working directory as expected! Workaround for a common problem, | |
# refreshes the current working directory, useful if you've just opened lots of tabs. | |
alias cmon="cd .. && cd -" | |
# Tells foreman to run cmon before starting in bundler context. | |
alias fs="cmon && bundle exec foreman start" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment