dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 6884f04b94fc16dda7b2c1c92572db6afb49ee8f
parent 8b4642742b647f2795878e69bd153e348a5e1a6f
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Fri, 19 Sep 2014 13:26:11 +0300

bash_alias: Update serverdir

Update `servedir` to use port 8000 by default so no root priveleges are
required. Also make it accept an argument on which port to listen to.

Diffstat:
.bash_aliases | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.bash_aliases b/.bash_aliases @@ -39,7 +39,7 @@ extract () { #Instant server servedir(){ - sudo python -m SimpleHTTPServer 80 + python -m SimpleHTTPServer $1 } shutd(){