mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Merge remote-tracking branch 'remotes/robbyrussel/master'
This commit is contained in:
commit
fc93621da2
4 changed files with 163 additions and 2 deletions
|
|
@ -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..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue