Skip to content

Commit

Permalink
Add alias for python httpserver
Browse files Browse the repository at this point in the history
  • Loading branch information
naokazuterada committed Jun 15, 2016
1 parent bf3dc43 commit 649cc14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ function reb { rbenv exec bundle $@ }
function rebe { rbenv exec bundle exec $@ }

# start HTTP server
alias http='python -m SimpleHTTPServer'
alias pythonserver='python -m SimpleHTTPServer'
alias web='pythonserver'
alias http='pythonserver'
alias server='pythonserver'

# プロセス名から選んでシグナルを送る
alias psint='ps -ax | peco | xargs kill -2' # 割り込み(Ctrl+Cと同じ)
Expand Down

0 comments on commit 649cc14

Please sign in to comment.