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
pull/488/head
Miguel Morales 2015-05-24 18:11:14 -05:00
parent 2b99e43d81
commit 567289185a
1 changed files with 3 additions and 3 deletions

View File

@ -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() {