You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
344 B
20 lines
344 B
13 years ago
|
#
|
||
|
# Loads prompt themes.
|
||
|
#
|
||
|
# Authors:
|
||
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||
|
#
|
||
|
|
||
|
# Load and run the prompt theming system.
|
||
|
autoload -Uz promptinit && promptinit
|
||
|
|
||
|
# Load the prompt theme.
|
||
|
zstyle -a ':omz:module:prompt' theme 'prompt_argv'
|
||
|
if (( $#prompt_argv > 0 )); then
|
||
|
prompt "$prompt_argv[@]"
|
||
|
else
|
||
|
prompt 'off'
|
||
|
fi
|
||
|
unset prompt_argv
|
||
|
|