From 733731fcc6a04eeffed1675d5dc03abb58d6addb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Tingel=C3=B6f?= Date: Fri, 15 Dec 2023 20:21:00 +0100 Subject: [PATCH] fix(zsh): Align bold chars in prompt --- templates/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/.zshrc b/templates/.zshrc index 84c9bdd..21b21d4 100644 --- a/templates/.zshrc +++ b/templates/.zshrc @@ -15,7 +15,7 @@ zstyle ':vcs_info:git:*' get-revision true zstyle ':vcs_info:git:*' stagedstr '%F{green}✓' zstyle ':vcs_info:git:*' unstagedstr '%F{red}±' -export PROMPT=$'┌──${debian_chroot:+($debian_chroot)──}%B%F{%(#.red.blue)}%n%(#.💀.@)%m%b%F{%(#.blue.green)} %B%F{reset}[%(6~.%-1~/…/%4~.%5~)$vcs_info_msg_0_%f] %(?..%?%F{red}%B⨯%b%F{reset})\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} ' +export PROMPT=$'%B┌── %b${debian_chroot:+($debian_chroot)──}%B%F{%(#.red.blue)}%n%(#.💀.@)%m%b%F{%(#.blue.green)} %B%F{reset}[%(6~.%-1~/…/%4~.%5~)$vcs_info_msg_0_%f] %(?..%?%F{red}%B⨯%b%F{reset})\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} ' # Options =============================================== setopt prompt_subst auto_menu always_to_end complete_in_word share_history autocd