mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 08:10:08 +00:00
[Agnoster theme] Rename AGNOSTER_PROMPT to AGNOSTER_PROMPT_SEGMENTS
This commit is contained in:
parent
1ab87862ff
commit
8b9ab37042
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
### Segments of the prompt default order declaration
|
### Segments of the prompt default order declaration
|
||||||
|
|
||||||
typeset -aHg AGNOSTER_PROMPT=(
|
typeset -aHg AGNOSTER_PROMPT_SEGMENTS=(
|
||||||
prompt_status
|
prompt_status
|
||||||
prompt_virtualenv
|
prompt_virtualenv
|
||||||
prompt_aws
|
prompt_aws
|
||||||
|
@ -253,7 +253,7 @@ prompt_aws() {
|
||||||
## Main prompt
|
## Main prompt
|
||||||
build_prompt() {
|
build_prompt() {
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
for prompt_segment in "${AGNOSTER_PROMPT[@]}"; do
|
for prompt_segment in "${AGNOSTER_PROMPT_SEGMENTS[@]}"; do
|
||||||
[[ -n $prompt_segment ]] && $prompt_segment
|
[[ -n $prompt_segment ]] && $prompt_segment
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue