From 964cac26e52627b07e0404fc020178e36c564cde Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Tue, 10 Sep 2019 14:39:06 +0200 Subject: python httpd --- bash/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bash') diff --git a/bash/.bashrc b/bash/.bashrc index 36d9a13..4b85bd1 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -216,6 +216,10 @@ if exists xcrun; then export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:$SDK_PATH/usr/include" fi +if exists python3; then + alias pyhttpd="python3 -m http.server" +fi + if [ -s "/usr/local/opt/nvm/nvm.sh" ]; then export NVM_DIR="$HOME/.nvm" source "/usr/local/opt/nvm/nvm.sh" -- cgit v1.2.3