Skip to content

Commit

Permalink
Allow ts alias to use a specific VM_IP
Browse files Browse the repository at this point in the history
  • Loading branch information
skwp committed Aug 13, 2015
1 parent 75b5b18 commit 997d36b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zsh/aliases.zsh
Expand Up @@ -144,7 +144,10 @@ alias gz='tar -zcvf'
alias c='rails c' # Rails 3
alias co='script/console' # Rails 2
alias cod='script/console --debugger'
alias ts='thin start -a 127.0.0.1'

#If you want your thin to listen on a port for local VM development
#export VM_IP=10.0.0.1 <-- your vm ip
alias ts='thin start -a ${VM_IP:-127.0.0.1}'
alias ms='mongrel_rails start'
alias tfdl='tail -f log/development.log'
alias tftl='tail -f log/test.log'
Expand Down

0 comments on commit 997d36b

Please sign in to comment.