From: martin f. krafft Date: Wed, 4 Jun 2008 18:49:32 +0000 (+0200) Subject: unset RPS1 before entering typescript X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/5816d75a8656f24dbe1113054522206f321139d9?ds=inline;pf=etc unset RPS1 before entering typescript --- 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