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 # add plugins to fpath
for plugin ($plugins); do for plugin ($plugins); do
files=({$OMZ,$ZSH}/plugins/$plugin) files=({$OMZ,$ZSH}/plugins/$plugin)
fpath+=$files[1] fpath=($files[1] $fpath)
done done
# Load and run compinit # Load and run compinit
@ -38,7 +38,8 @@ omz() {
"theme") "theme")
local theme local theme
zstyle -a :omz:style theme 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 echo "$0: invalid command $1" 2>&1