From a69c86192d04ed8b95c4ca688de56a47f678a611 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sat, 17 Jun 2023 14:29:09 +0000 Subject: [PATCH 1/2] giti: adaption for kali_prompt --- bin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin b/bin index 2ee1207..8d00e56 160000 --- a/bin +++ b/bin @@ -1 +1 @@ -Subproject commit 2ee1207ad3e0d78bd7c6197670a350d8a1607e62 +Subproject commit 8d00e5660214cbcf90e466f274e29242f8577ac1 From ba8978cb7e2214edabf619825fc3800902f3e603 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Jun 2023 14:31:20 +0000 Subject: [PATCH 2/2] zsh-propmt-kali: skull removed for root --- .zshrc.d/__available__/prompt_kali.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc.d/__available__/prompt_kali.zsh b/.zshrc.d/__available__/prompt_kali.zsh index 178d38e..d95ec24 100644 --- a/.zshrc.d/__available__/prompt_kali.zsh +++ b/.zshrc.d/__available__/prompt_kali.zsh @@ -28,7 +28,7 @@ configure_prompt() { #prompt_symbol=㉿ prompt_symbol=@ # Skull emoji for root terminal - [ "$EUID" -eq 0 ] && prompt_symbol=💀 + #[ "$EUID" -eq 0 ] && prompt_symbol=💀 case "$PROMPT_ALTERNATIVE" in 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} '