Fix problem with print -Pn and awk

Report: https://twitter.com/integralist/status/384333459516588032
This commit is contained in:
Sindre Sorhus
2013-09-29 22:25:50 +02:00
parent ccbb519151
commit 525042dfcc

View File

@@ -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() {