mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
theme-chooser should warn in env variable /Users/simon/.oh-my-zsh is not set
This commit is contained in:
parent
c087a56bc2
commit
5ff8e09f6b
1 changed files with 6 additions and 0 deletions
|
|
@ -9,6 +9,12 @@
|
|||
|
||||
THEMES_DIR="$ZSH/themes"
|
||||
FAVLIST="${HOME}/.zsh_favlist"
|
||||
|
||||
if [ -z "$ZSH" ]; then
|
||||
echo "You probably need to set the environment value $ZSH, e.g. 'export ZSH; $0'"
|
||||
exit
|
||||
fi
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
function noyes() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue