From d41b2f72af730fa72abeee21ea2116b7ab4e7c5c Mon Sep 17 00:00:00 2001 From: "Max V.K." Date: Tue, 1 Jul 2014 15:05:16 +0300 Subject: [PATCH] fix wrong paths, add theme name printing 1. previous patch wasn't actually run. now ran, fixed 2. added printing of the theme name. so you can fixate it for constant use. --- themes/random/random.theme.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/random/random.theme.bash b/themes/random/random.theme.bash index 17163354..d1ca153d 100644 --- a/themes/random/random.theme.bash +++ b/themes/random/random.theme.bash @@ -2,6 +2,6 @@ # Yet another Oh-My-zsh feature # pick a theme: -export BASH_IT_THEME=$( ls -w1 ${BASH_IT}/.bash_it/themes/ | grep -v .bash | grep -v random | sort -R | head -1 ) -# load it the right way: -source "${BASH_IT}/themes/${BASH_IT_THEME}.bash" +export BASH_IT_THEME=$( ls -w1 ${BASH_IT}/themes/ | grep -v .bash | grep -v random | sort -R | head -1 ) +echo "using theme: ${BASH_IT_THEME}" +source "${BASH_IT}/themes/${BASH_IT_THEME}/${BASH_IT_THEME}.theme.bash"