nixdots/home/programs/terminal/shell/zsh/rc/misc.zsh
2024-03-26 00:38:19 +01:00

8 lines
226 B
Bash

# 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