From a30f8865864249a4775c1a2e31d54d441486e441 Mon Sep 17 00:00:00 2001 From: Max Kovgan Date: Thu, 12 Jun 2014 10:46:35 +0300 Subject: [PATCH] adding a "random" theme. --- themes/random/random.theme.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 themes/random/random.theme.bash diff --git a/themes/random/random.theme.bash b/themes/random/random.theme.bash new file mode 100644 index 00000000..d7998676 --- /dev/null +++ b/themes/random/random.theme.bash @@ -0,0 +1,7 @@ +# Random theme - a fake theme that randomly chooses one of the existing themes and loads it. +# Yet another Oh-My-zsh feature + +# pick a theme: +export BASH_IT_THEME=$( ls -w1 /home/cloudera/.bash_it/themes/ | grep -v .bash | grep -v random | sort -R | head -1 ) +# load it the right way: +source "${BASH_IT}/lib/appearance.bash"