aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-30 15:10:14 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commitfcede4f5dd134e98df20dfe6f485c3cd11d06763 (patch)
tree426ef3e1b6c292b7574f1799b376ffcf2ed8d7fe /zsh
parent261288dc505e580a96cc94991066bb089629c843 (diff)
downloaddotfiles-fcede4f5dd134e98df20dfe6f485c3cd11d06763.tar.xz
zsh/theme/kyrias: Fix broken _preexec command
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-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 a697b24..49b2b3f 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 -Pn "\e];%n %~\a"
+ print -Pn "\e]0;%n %~\a"
}
prompt_kyrias_preexec() {
# Print currently running command name to the window title
- print -Pn "\e];$1:q\a"
+ print -Pn "\e]0;$1:q\a"
}
prompt_kyrias_setup() {