From 974d18e880b69fbf24ba5d51743ae61bc4530a7a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 28 Jul 2024 20:48:50 +0400 Subject: [PATCH] vterm alias for zsh --- config/zsh/zshrc.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/zsh/zshrc.zsh b/config/zsh/zshrc.zsh index 6aa8b1f0..ba17e85a 100644 --- a/config/zsh/zshrc.zsh +++ b/config/zsh/zshrc.zsh @@ -1 +1,4 @@ eval "$(direnv hook zsh)" +if [[ "$INSIDE_EMACS" = 'vterm' ]]; then + alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear' +fi