tiny update with themeing

This commit is contained in:
James McGlashan 2011-12-06 17:55:56 +11:00
commit 0939b88a82
2 changed files with 10 additions and 1 deletions

View file

@ -1,7 +1,7 @@
set_theme() {
local themes
themes=({$OMZ,$ZSH}/themes/$1.zsh-theme(N))
source $themes[1]
source $themes[1] || omz_log_msg "theme: $1 was not found. falling back to default." && source $ZSH/themes/default.zsh-theme
}
random_theme() {