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/httpiepull/488/head
parent
2b99e43d81
commit
567289185a
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue