From e4ebffd3ad5880e6c7e4d96aaf7dc4d7409ca779 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Fri, 7 Nov 2014 00:11:37 +0100 Subject: [PATCH] add distro specific python version --- zshenv | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zshenv b/zshenv index 1d6c976..593498d 100644 --- a/zshenv +++ b/zshenv @@ -19,3 +19,11 @@ alias t=todo.sh BASE16_SCHEME="solarized" BASE16_SHELL="$HOME/.base16-shell/base16-$BASE16_SCHEME.dark.sh" [[ -s $BASE16_SHELL ]] && . $BASE16_SHELL + +DIST=$(lsb_release -si) +case $DIST in + Arch ) + # use python 2.7 by default + export PYTHON=python2 + ;; +esac