From 5f5b990e2b1739ba359f08a33727c8bf107bf4f8 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Tue, 16 Jun 2015 14:54:30 +0300 Subject: [PATCH] Disable prompt expansion for running command --- pure.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pure.zsh b/pure.zsh index 36e23b3..1a02398 100644 --- a/pure.zsh +++ b/pure.zsh @@ -67,7 +67,7 @@ prompt_pure_preexec() { [[ "$SSH_CONNECTION" != '' ]] && print -Pn "(%m) " # shows the current dir and executed command in the title when a process is active # (use print -r to disable potential evaluation of escape characters in cmd) - print -Pnr "$PWD:t: $2" + print -nr "$PWD:t: $2" print -Pn "\a" }