This should be interesting.

This commit is contained in:
Simon Gomizelj 2011-12-02 09:52:28 -05:00
commit c974f24fb5
2 changed files with 53 additions and 41 deletions

View file

@ -1,8 +1,11 @@
# Initializes Oh My Zsh
oh-my-zsh() {
# omz control center
omz() {
ZSH=${ZSH:-/usr/share/oh-my-zsh}
OMZ=${OMZ:-$HOME/.omz}
case "$1" in
"start")
local config_file plugin
plugin=${plugin:=()}
@ -48,4 +51,11 @@ done
local theme
zstyle -a :omz:style theme theme
set_theme $theme
;;
*)
echo "$0: invalid command $1" 2>&1
;;
esac
}
# vi: ft=zsh

View file

@ -1,7 +1,9 @@
# Check /etc/zsh/zshrc for system defaults.
autoload omz
zstyle :omz:style theme "arch-blue"
plugins=(archlinux sprunge git github)
omz_init
omz init