nixdots/home/programs/terminal/shell/zsh/rc/misc.zsh

8 lines
226 B
Bash
Raw Normal View History

2024-03-25 23:38:19 +00:00
# Foot terminal uses this sequence to identify a command execution
# that way it's possible to use ctrl+shift+z/x to jump between commands
if [ "$TERM" = "foot" ]; then
precmd() {
print -Pn "\e]133;A\e\\"
}
fi