mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
add distro specific python version
This commit is contained in:
8
zshenv
8
zshenv
@@ -19,3 +19,11 @@ alias t=todo.sh
|
|||||||
BASE16_SCHEME="solarized"
|
BASE16_SCHEME="solarized"
|
||||||
BASE16_SHELL="$HOME/.base16-shell/base16-$BASE16_SCHEME.dark.sh"
|
BASE16_SHELL="$HOME/.base16-shell/base16-$BASE16_SCHEME.dark.sh"
|
||||||
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
|
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
|
||||||
|
|
||||||
|
DIST=$(lsb_release -si)
|
||||||
|
case $DIST in
|
||||||
|
Arch )
|
||||||
|
# use python 2.7 by default
|
||||||
|
export PYTHON=python2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user