diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index d6ba8fd..6e5bc0a 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -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'