aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/themes/prompt_kyrias_setup
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-06 03:16:31 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit20dbbe4905394ebc72146f7937589b067b924ebc (patch)
treed7a7b71b41d320681e0750d440ebf236285e4290 /zsh/themes/prompt_kyrias_setup
parent5ae10f6db5264281757e5692a78c74960091dce1 (diff)
downloaddotfiles-20dbbe4905394ebc72146f7937589b067b924ebc.tar.xz
zsh/theme: Don't print erroneous blank lines
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh/themes/prompt_kyrias_setup')
-rw-r--r--zsh/themes/prompt_kyrias_setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/themes/prompt_kyrias_setup b/zsh/themes/prompt_kyrias_setup
index 7082677..c53d762 100644
--- a/zsh/themes/prompt_kyrias_setup
+++ b/zsh/themes/prompt_kyrias_setup
@@ -20,12 +20,12 @@ venv_prompt() {
prompt_kyrias_precmd() {
# Print line to the window title
- print -P "\e];%n %~\a"
+ print -Pn "\e];%n %~\a"
}
prompt_kyrias_preexec() {
# Print currently running command name to the window title
- print -P "\e];$1:q\a"
+ print -Pn "\e];$1:q\a"
}
prompt_kyrias_setup() {