nixos/foot: fix zsh duplicate precmd functions (#523065)

This commit is contained in:
sternenseemann
2026-06-10 04:34:27 +00:00
committed by GitHub
+1 -4
View File
@@ -9,14 +9,11 @@ function chpwd-osc7-pwd() {
(( ZSH_SUBSHELL )) || osc7-pwd
}
precmd() {
print -Pn "\e]133;A\e\\"
}
function precmd {
if ! builtin zle; then
print -n "\e]133;D\e\\"
fi
print -Pn "\e]133;A\e\\"
}
function preexec {