Only setting environment variable if not already set

pull/539/head
Nils Winkler 2015-08-04 10:39:30 +02:00
parent 2f64aaec6c
commit 1553a7ad80
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
#!/usr/bin/env bash
if [ -z "$BASH_IT" ];
then
BASH_IT="$HOME/.bash_it"
fi
case $OSTYPE in
darwin*)