Use Ruby as webserver

This commit is contained in:
Andrew Tomaka 2020-01-24 17:38:22 -05:00
parent 0c62be8d91
commit 72b90ecd20
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -84,7 +84,7 @@ alias tf="terraform"
alias tls="tmux list-sessions" alias tls="tmux list-sessions"
alias ts="tmuxinator start" alias ts="tmuxinator start"
alias v="$EDITOR" alias v="$EDITOR"
alias w="python -m SimpleHTTPServer" alias w="ruby -rwebrick -e'WEBrick::HTTPServer.new(:Port => 8000, :DocumentRoot => Dir.pwd).start'"
alias wo="curl 'http://wttr.in/48912?m'" alias wo="curl 'http://wttr.in/48912?m'"
alias y="yarn" alias y="yarn"
alias ya="yarn add" alias ya="yarn add"