From 15f48cdf05f2014a4a55ad96c5986da0f37d81f4 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 18 Jul 2014 14:45:46 +0300 Subject: [PATCH] bashrc & zshrc: fix aliases pythonX-httpd Both pointed to `python`, not `python2` and `python3`. --- bashrc | 4 ++-- zshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index 08b9490d..28ceab55 100644 --- a/bashrc +++ b/bashrc @@ -517,8 +517,8 @@ alias osx-airdrop-listenallif="defaults write com.apple.NetworkBrowser BrowseAll alias osx-set-updatecheck="defaults write /Library/Preferences/com.apple.SoftwareUpdate ScheduleFrequency" # Simple HTTPd with Python. -alias python2-httpd="python -m SimpleHTTPServer" -alias python3-httpd="python -m http.server" +alias python2-httpd="python2 -m SimpleHTTPServer" +alias python3-httpd="python3 -m http.server" # Resetting different desktop environments alias reset-gnome="rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity ~/.cache ~/.dbus ~/.dmrc ~/.mission-control ~/.thumbnails ~/.config/dconf/user ~/.compiz*" diff --git a/zshrc b/zshrc index 9de3eaef..98084713 100644 --- a/zshrc +++ b/zshrc @@ -487,8 +487,8 @@ alias osx-airdrop-listenallif="defaults write com.apple.NetworkBrowser BrowseAll alias osx-set-updatecheck="defaults write /Library/Preferences/com.apple.SoftwareUpdate ScheduleFrequency" # Simple HTTPd with Python. -alias python2-httpd="python -m SimpleHTTPServer" -alias python3-httpd="python -m http.server" +alias python2-httpd="python2 -m SimpleHTTPServer" +alias python3-httpd="python3 -m http.server" # Resetting different desktop environments alias reset-gnome="rm -rf ~/.gnome ~/.gnome2 ~/.gconf ~/.gconfd ~/.metacity ~/.cache ~/.dbus ~/.dmrc ~/.mission-control ~/.thumbnails ~/.config/dconf/user ~/.compiz*"