From e2d34196399d27d577af77fcc829ce62a1a931d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81?= Date: Tue, 2 May 2017 11:11:13 +0800 Subject: [PATCH] Fix more space-in-path-proof issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ๆž—ๅšไป --- template/bash_profile.template.bash | 2 +- themes/base.theme.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 4abc30de..a052e91e 100755 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -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 diff --git a/themes/base.theme.bash b/themes/base.theme.bash index d891ecd3..84928acd 100644 --- a/themes/base.theme.bash +++ b/themes/base.theme.bash @@ -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