From bf590cf858a70377d824a4bd86daeddcbb2374b7 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 21 May 2024 14:14:17 +0300 Subject: [PATCH] zsh: another fix --- cli/.config/zsh/prompt.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/.config/zsh/prompt.zsh b/cli/.config/zsh/prompt.zsh index 1001846..8149325 100644 --- a/cli/.config/zsh/prompt.zsh +++ b/cli/.config/zsh/prompt.zsh @@ -3,7 +3,6 @@ printf -v PROMPT2 $prompt_fmtn '%_' printf -v PROMPT3 $prompt_fmtn '?#' printf -v PROMPT4 $prompt_fmtn '+%N:%i' -prompt_wt="${HOST%%.*}: $(pwd)" prompt_fifo=~/.zsh_gitstatus_$$ prompt_blimit=50 typeset -A prompt_symbols=( @@ -134,7 +133,7 @@ precmd.prompt.update() { } precmd.window_title() { - printf '\033]0;%s\007' $prompt_wt + printf '\033]0;%s %s\007' ${HOST%%.*} $(pwd) } precmd() {