From 5816d75a8656f24dbe1113054522206f321139d9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 4 Jun 2008 20:49:32 +0200 Subject: [PATCH] unset RPS1 before entering typescript --- .zsh/func/TS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/func/TS b/.zsh/func/TS index 63eb5fb..609b6cb 100755 --- a/.zsh/func/TS +++ b/.zsh/func/TS @@ -14,7 +14,7 @@ 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= 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.2