From 525042dfcc1f9c46a7af18b64793ae2b47f34a88 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 29 Sep 2013 22:25:50 +0200 Subject: [PATCH] Fix problem with `print -Pn` and awk Report: https://twitter.com/integralist/status/384333459516588032 --- pure.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pure.zsh b/pure.zsh index 8c528ba..45fcebb 100644 --- a/pure.zsh +++ b/pure.zsh @@ -38,7 +38,7 @@ prompt_pure_preexec() { cmd_timestamp=$(date +%s) # shows the current dir and executed command in the title when a process is active - print -Pn "\e]0;$PWD:t: $2\a" + printf "\e]0;$PWD:t: $2\a" } prompt_pure_precmd() {