Alias collides with httpie binary
It would be nice to still have this alias but not colliding with the awesome httpie tool: https://github.com/jakubroztocil/httpie
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
cite about-plugin
|
cite about-plugin
|
||||||
about-plugin 'alias "http" to SimpleHTTPServer'
|
about-plugin 'alias "https" to SimpleHTTPServer'
|
||||||
|
|
||||||
if [ $(uname) = "Linux" ]
|
if [ $(uname) = "Linux" ]
|
||||||
then
|
then
|
||||||
alias http='python2 -m SimpleHTTPServer'
|
alias https='python2 -m SimpleHTTPServer'
|
||||||
else
|
else
|
||||||
alias http='python -m SimpleHTTPServer'
|
alias https='python -m SimpleHTTPServer'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function pyedit() {
|
function pyedit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user