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:
Miguel Morales
2015-05-24 18:11:14 -05:00
parent 2b99e43d81
commit 567289185a

View File

@@ -1,11 +1,11 @@
cite about-plugin
about-plugin 'alias "http" to SimpleHTTPServer'
about-plugin 'alias "https" to SimpleHTTPServer'
if [ $(uname) = "Linux" ]
then
alias http='python2 -m SimpleHTTPServer'
alias https='python2 -m SimpleHTTPServer'
else
alias http='python -m SimpleHTTPServer'
alias https='python -m SimpleHTTPServer'
fi
function pyedit() {