Fixed indentation to two spaces, like in the rest of the file
parent
1b887b2916
commit
0028dc7661
16
bash_it.sh
16
bash_it.sh
|
|
@ -4,18 +4,18 @@
|
||||||
# Only set $BASH_IT if it's not already set
|
# Only set $BASH_IT if it's not already set
|
||||||
if [ -z "$BASH_IT" ];
|
if [ -z "$BASH_IT" ];
|
||||||
then
|
then
|
||||||
# Setting $BASH to maintain backwards compatibility
|
# Setting $BASH to maintain backwards compatibility
|
||||||
# TODO: warn users that they should upgrade their .bash_profile
|
# TODO: warn users that they should upgrade their .bash_profile
|
||||||
export BASH_IT=$BASH
|
export BASH_IT=$BASH
|
||||||
export BASH="$(bash -c 'echo $BASH')"
|
export BASH="$(bash -c 'echo $BASH')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For backwards compatibility, look in old BASH_THEME location
|
# For backwards compatibility, look in old BASH_THEME location
|
||||||
if [ -z "$BASH_IT_THEME" ];
|
if [ -z "$BASH_IT_THEME" ];
|
||||||
then
|
then
|
||||||
# TODO: warn users that they should upgrade their .bash_profile
|
# TODO: warn users that they should upgrade their .bash_profile
|
||||||
export BASH_IT_THEME="$BASH_THEME";
|
export BASH_IT_THEME="$BASH_THEME";
|
||||||
unset $BASH_THEME;
|
unset $BASH_THEME;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load composure first, so we support function metadata
|
# Load composure first, so we support function metadata
|
||||||
|
|
@ -81,7 +81,7 @@ done
|
||||||
|
|
||||||
unset config_file
|
unset config_file
|
||||||
if [[ $PROMPT ]]; then
|
if [[ $PROMPT ]]; then
|
||||||
export PS1="\[""$PROMPT""\]"
|
export PS1="\[""$PROMPT""\]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Adding Support for other OSes
|
# Adding Support for other OSes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue