|
@@ -31,9 +31,9 @@ configure_prompt() {
|
31
|
31
|
case "$PROMPT_ALTERNATIVE" in
|
32
|
32
|
twoline)
|
33
|
33
|
export GIT_PROMPT_DETAILS="off"
|
34
|
|
- PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n`giti -p`%F{%(#.blue.green)}└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
|
34
|
+ PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n`giti -p`%F{%(#.blue.green)}└─%F{red}%(?.. %? %B⚡%b)%F{yellow}%(1j. %j %B⚙ %b%F{reset}.)%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
35
|
35
|
# Right-side prompt with exit codes and background processes
|
36
|
|
- RPROMPT=$'%(?.. %? %F{red}%B⚡%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
|
36
|
+ #RPROMPT=$'%(?.. %? %F{red}%B⚡%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
37
|
37
|
# Add mechanism to switch git details for prompt
|
38
|
38
|
gitp() {
|
39
|
39
|
[[ "$GIT_PROMPT_DETAILS" == "on" ]] && export GIT_PROMPT_DETAILS="off" || export GIT_PROMPT_DETAILS="on"
|