Sorin Ionescu
13 years ago
7 changed files with 22 additions and 18 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
# |
||||
# 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 |
||||
|
Loading…
Reference in new issue