Fix over-prompt updating the window title incorrectly
This commit is contained in:
parent
dd6ea5923c
commit
164a5b7a76
2 changed files with 2 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue