single lines for kali_prompt and symbols added for kali prompt
This commit is contained in:
parent
c4f2368eac
commit
200a6d0402
@ -25,15 +25,14 @@ if [ -n "$force_color_prompt" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
configure_prompt() {
|
configure_prompt() {
|
||||||
#prompt_symbol=㉿
|
|
||||||
prompt_symbol=@
|
prompt_symbol=@
|
||||||
# Skull emoji for root terminal
|
# Skull emoji for root terminal
|
||||||
#[ "$EUID" -eq 0 ] && prompt_symbol=💀
|
[ "$EUID" -eq 0 ] && prompt_symbol='%F{white}☠%B%F{%(#.red.blue)}'
|
||||||
case "$PROMPT_ALTERNATIVE" in
|
case "$PROMPT_ALTERNATIVE" in
|
||||||
twoline)
|
twoline)
|
||||||
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 -n`%F{%(#.blue.green)}╚═%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
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 -n`%F{%(#.blue.green)}└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
||||||
# Right-side prompt with exit codes and background processes
|
# Right-side prompt with exit codes and background processes
|
||||||
RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
RPROMPT=$'%(?.. %? %F{red}%B⚡%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
||||||
;;
|
;;
|
||||||
oneline)
|
oneline)
|
||||||
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '
|
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '
|
||||||
|
2
bin
2
bin
@ -1 +1 @@
|
|||||||
Subproject commit 6326de2e697a0a13b8f631684030bb647ee21781
|
Subproject commit c37533ea58569bb64fae58b5d40c3fdd6695a884
|
Loading…
x
Reference in New Issue
Block a user