From 5654057bf29e92aa616e2c87289af266faeec067 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 14 Jun 2013 18:28:17 +0200 Subject: [PATCH 1/1] newline in TS prompt --- .zsh/func/TS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zsh/func/TS b/.zsh/func/TS index 4ef0cb1..d87df4b 100755 --- a/.zsh/func/TS +++ b/.zsh/func/TS @@ -14,7 +14,8 @@ local topic filename ret topic="${(j:_:)@}" filename="${TMPDIR:-/tmp}/script.${topic:-$LOGNAME}.$$.$(date +%Y%m%d.%H%M)" echo "I: writing typescript to $filename ..." >&2 -PS1="%# " PS2= RPS1= script -c "zsh -f" -f -q "$filename" +PS1=" +%# " PS2= RPS1= script -c "zsh -f" -f -q "$filename" ret=$? echo "I: typescript is in $filename ." return $ret -- 2.39.5