Merge remote-tracking branch 'remotes/robbyrussel/master'

This commit is contained in:
Locojay 2011-05-25 22:06:21 -04:00
commit fc93621da2
4 changed files with 163 additions and 2 deletions

View file

@ -6,7 +6,7 @@ if [ "$TERM" = "dumb" ]; then
fi
# add a function path
fpath=($ZSH/functions $fpath)
fpath=($ZSH/functions $ZSH/completions $fpath)
# Load all of the config files in ~/oh-my-zsh that end in .zsh
# TIP: Add files you don't want in git to .gitignore
@ -33,7 +33,7 @@ if [ "$ZSH_THEME" = "random" ]
then
themes=($ZSH/themes/*zsh-theme)
N=${#themes[@]}
((N=RANDOM%N))
((N=(RANDOM%N)+1))
RANDOM_THEME=${themes[$N]}
source "$RANDOM_THEME"
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."