From 92ef53db3d5b1a3421538128345111d6d70f9140 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 12 Feb 2021 11:29:47 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'zsh/themes/deblan/?= =?UTF-8?q?deblan.zsh-theme'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/themes/deblan/deblan.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/themes/deblan/deblan.zsh-theme b/zsh/themes/deblan/deblan.zsh-theme index c4356f5..19f9311 100644 --- a/zsh/themes/deblan/deblan.zsh-theme +++ b/zsh/themes/deblan/deblan.zsh-theme @@ -30,7 +30,7 @@ function deblan_precmd() { fi prompt_content="$prompt_content %{$fg_bold[white]%}$current_directory" - prompt_width="${#${(%):-$PS1}}" + prompt_width="${#${(%):-$prompt_content}}" term_width=$(tput cols) if [[ "$prompt_width*1.3" -gt $term_width ]]; then