Parent directory

foot.plugin.zsh

153 bytes
 1function precmd {
 2  print -Pn "\e]133;A\e\\"
 3  if ! builtin zle; then
 4    print -n "\e]133;D\e\\"
 5  fi
 6}
 7
 8function preexec {
 9  print -n "\e]133;C\e\\"
10}