Fix more space-in-path-proof issues

Signed-off-by: 林博仁 <Buo.Ren.Lin@gmail.com>
pull/956/head
林博仁 2017-05-02 11:11:13 +08:00
parent e275c62767
commit e2d3419639
2 changed files with 2 additions and 2 deletions

View File

@ -49,4 +49,4 @@ export SCM_CHECK=true
# export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1
# Load Bash It
source $BASH_IT/bash_it.sh
source "$BASH_IT"/bash_it.sh

View File

@ -474,7 +474,7 @@ function battery_char {
fi
}
if [ ! -e $BASH_IT/plugins/enabled/battery.plugin.bash ]; then
if [ ! -e "$BASH_IT"/plugins/enabled/battery.plugin.bash ]; then
# if user has installed battery plugin, skip this...
function battery_charge (){
# no op