nixos/foot: fix zsh prompt marker precmd function being overwritten by the end pipe marker precmd function

This commit is contained in:
Colin Hooper
2026-05-22 16:20:20 +01:00
parent 6a7a7fd161
commit 64a6456f52
+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 {