AutoYADM commit: 2025-03-22 19:15:07

This commit is contained in:
Daniel Fichtinger 2025-03-22 19:15:07 -04:00
parent 1e578ee81e
commit 8d27d3a376

4
.zshrc
View file

@ -193,10 +193,14 @@ function chpwd-osc7-pwd() {
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
function preexec {
# needed for foot prompt integration
print -n "\e]133;C\e\\"
printf '\e[2 q' # block cursor before running a command
}
precmd() {
printf '\e[6 q' # beam cursor before showing the prompt again
# needed for foot prompt integration
print -Pn "\e]133;A\e\\"
if ! builtin zle; then
print -n "\e]133;D\e\\"