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.
pull/301/head
Max V.K. 2014-07-01 15:05:16 +03:00
parent be0b34b3a7
commit d41b2f72af
1 changed files with 3 additions and 3 deletions

View File

@ -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"