Fix over-prompt updating the window title incorrectly

This commit is contained in:
Martin Sekera 2019-09-28 12:40:15 +02:00
parent dd6ea5923c
commit 164a5b7a76
2 changed files with 2 additions and 5 deletions

View file

@ -13,10 +13,7 @@ function __over_prompt_set_title {
}
function __over_prompt_preexec {
local -a cmd
cmd=(${(z)1})
__over_prompt_set_title "${USER}: ${PWD} -> ${cmd}"
__over_prompt_set_title "${USER}: ${PWD} -> ${1}"
}
function __over_prompt_precmd {