1
0
Fork 0
plessbd 10 years ago
parent 08676a273e
commit d8b7ff6a14

@ -158,7 +158,7 @@ fi
# Miscellaneous
# Serves a directory via HTTP.
alias http-serve='python -m SimpleHTTPServer'
alias http-serve="python -c \"import SimpleHTTPServer; m = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map; m[''] = 'text/plain'; m.update(dict([(k, v + ';charset=UTF-8') for k, v in m.items()])); SimpleHTTPServer.test();\""
#
# Functions

Loading…
Cancel
Save