mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge aee6a6a4dc into 291e96dcd0
This commit is contained in:
commit
f9bcf72f9e
1 changed files with 7 additions and 0 deletions
|
|
@ -212,6 +212,12 @@ prompt_status() {
|
|||
[[ -n "$symbols" ]] && prompt_segment black default "$symbols"
|
||||
}
|
||||
|
||||
# Add a newline to the prompt for convenience
|
||||
prompt_newline() {
|
||||
|
||||
echo "\n→"
|
||||
}
|
||||
|
||||
## Main prompt
|
||||
build_prompt() {
|
||||
RETVAL=$?
|
||||
|
|
@ -223,6 +229,7 @@ build_prompt() {
|
|||
prompt_bzr
|
||||
prompt_hg
|
||||
prompt_end
|
||||
prompt_newline
|
||||
}
|
||||
|
||||
PROMPT='%{%f%b%k%}$(build_prompt) '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue