change back http alias and check for Linux to use python2
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
alias http='python2 -m SimpleHTTPServer'
|
if [ $(uname) = "Linux" ]
|
||||||
|
then
|
||||||
|
alias http='python2 -m SimpleHTTPServer'
|
||||||
|
else
|
||||||
|
alias http='python -m SimpleHTTPServer'
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user