mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge 55a70b4433 into 61e3951e4b
This commit is contained in:
commit
51d8669189
2 changed files with 32 additions and 26 deletions
|
|
@ -28,6 +28,8 @@ else
|
||||||
SCREEN_NO=""
|
SCREEN_NO=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$DISABLE_THEME" != "true" ]
|
||||||
|
then
|
||||||
# Apply theming defaults
|
# Apply theming defaults
|
||||||
PS1="%n@%m:%~%# "
|
PS1="%n@%m:%~%# "
|
||||||
|
|
||||||
|
|
@ -39,4 +41,5 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is c
|
||||||
|
|
||||||
# Setup the prompt with pretty colors
|
# Setup the prompt with pretty colors
|
||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,8 @@ for config_file ($ZSH_CUSTOM/*.zsh(N)); do
|
||||||
done
|
done
|
||||||
unset config_file
|
unset config_file
|
||||||
|
|
||||||
|
if [ "$DISABLE_THEME" != "true" ]
|
||||||
|
then
|
||||||
# Load the theme
|
# Load the theme
|
||||||
if [ "$ZSH_THEME" = "random" ]
|
if [ "$ZSH_THEME" = "random" ]
|
||||||
then
|
then
|
||||||
|
|
@ -91,3 +93,4 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue