more consistaint

This commit is contained in:
James McGlashan 2011-12-06 17:38:45 +11:00
commit 1234fac27f

5
omz
View file

@ -15,7 +15,7 @@ omz() {
# add plugins to fpath
for plugin ($plugins); do
files=({$OMZ,$ZSH}/plugins/$plugin)
fpath+=$files[1]
fpath=($files[1] $fpath)
done
# Load and run compinit
@ -38,7 +38,8 @@ omz() {
"theme")
local theme
zstyle -a :omz:style theme theme
set_theme ${2:-$theme}
[[ -f {$OMZ,$ZSH}/themes/$2.zsh-theme(N) ]] && theme=$2 || omz_log_msg "Theme: $2 not found."
set_theme $theme
;;
*)
echo "$0: invalid command $1" 2>&1