mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Reverted the plugin, since it was unnecessary to change.
This commit is contained in:
parent
9a3fc33caa
commit
f07f9ef7ee
1 changed files with 1 additions and 9 deletions
|
|
@ -8,15 +8,7 @@ function theme {
|
||||||
elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then
|
elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then
|
||||||
source "$ZSH/themes/$1.zsh-theme"
|
source "$ZSH/themes/$1.zsh-theme"
|
||||||
else
|
else
|
||||||
echo "$0: Theme '$1' not found, using default theme!"
|
echo "$0: Theme '$1' not found"
|
||||||
if [[ -f "$ZSH_CUSTOM/robbyrussell.zsh-theme" ]]; then
|
|
||||||
source "$ZSH_CUSTOM/robbyrussell.zsh-theme"
|
|
||||||
elif [[ -f "$ZSH_CUSTOM/themes/robbyrussell.zsh-theme" ]]; then
|
|
||||||
source "$ZSH_CUSTOM/themes/robbyrussell.zsh-theme"
|
|
||||||
elif [[ -f "$ZSH/themes/robbyrussell.zsh-theme" ]]; then
|
|
||||||
source "$ZSH/themes/robbyrussell.zsh-theme"
|
|
||||||
else
|
|
||||||
echo "$0: The default theme (robbyrussell) also does not exist!"
|
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue