summaryrefslogtreecommitdiff
path: root/12_Prompts.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-07-09 11:10:01 +0200
committerHugues Hiegel <hugues@hiegel.fr>2009-07-09 11:10:01 +0200
commitb3f14c0ce09c46ceb54d2bf09e2d0d8ba218aab0 (patch)
tree5ef61bbbe747b897c43beb51ea0a1d892db19290 /12_Prompts.zsh
parent508a6701fae854473b889ecd37d88133a6f68ada (diff)
[TermTitle] new caption
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r--12_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index 06c8611..890cee1 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -36,7 +36,7 @@ expand_text()
preexec ()
{
- term_title " --- " "$(echo $1 | tr ' \n' ' ;' | sed 's/%/%%/g;s/\\/\\\\/g;s/;$//')"
+ term_title "$(echo $1 | tr ' \n' ' ;' | sed 's/%/%%/g;s/\\/\\\\/g;s/;$//')"
print -Pn "$C_$prompt_colors[exec]$_C"
local lines="$(expand_text "$PROMPT$1" | sed "s/\\(.\{$COLUMNS\}\\)/\\1\\n/g" | wc -l)"