|
|
@ -8,6 +8,13 @@
|
|
|
|
# Load and execute the prompt theming system.
|
|
|
|
# Load and execute the prompt theming system.
|
|
|
|
autoload -Uz promptinit && promptinit
|
|
|
|
autoload -Uz promptinit && promptinit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check for the minimum supported version.
|
|
|
|
|
|
|
|
min_zsh_version='4.3.10'
|
|
|
|
|
|
|
|
if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then
|
|
|
|
|
|
|
|
return 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
unset min_zsh_version
|
|
|
|
|
|
|
|
|
|
|
|
# Load the prompt theme.
|
|
|
|
# Load the prompt theme.
|
|
|
|
zstyle -a ':omz:module:prompt' theme 'prompt_argv'
|
|
|
|
zstyle -a ':omz:module:prompt' theme 'prompt_argv'
|
|
|
|
if (( $#prompt_argv > 0 )); then
|
|
|
|
if (( $#prompt_argv > 0 )); then
|
|
|
|