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