1
0
Fork 0

Use python3 for http-serve alias if available (#1193)

pull/909/merge
Eduard Zintz 8 years ago committed by Kaleb Elwert
parent 2ba060a426
commit 8913bcccd2

@ -158,7 +158,11 @@ fi
# Miscellaneous # Miscellaneous
# Serves a directory via HTTP. # Serves a directory via HTTP.
if (( $+commands[python3] )); then
alias http-serve='python3 -m http.server'
else
alias http-serve='python -m SimpleHTTPServer' alias http-serve='python -m SimpleHTTPServer'
fi
# #
# Functions # Functions

Loading…
Cancel
Save