From 98d4fcc4837937453bd3cdccb2ae609f6b2f893c Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 15 Jun 2021 18:24:04 +0300 Subject: [PATCH] Mouse selection friendly space-separated path in prompt --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 02a85db..df72c85 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -53,7 +53,7 @@ bindkey -M isearch "^[[B" history-incremental-pattern-search-forward function zle-line-init zle-keymap-select { mode_vi=${${KEYMAP/vicmd/+}/(main|viins)/-} [[ $timer ]] && timer_show=$(( $SECONDS - $timer )) - prompt="%2~|" + prompt="%2~ " prompt+="%U${timer_show}%u|" prompt+="%B%?%b" prompt+="${mode_vi}" -- 2.44.0