From 5bc362a974fce080aa9c35ba81b129d405850a08 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Sun, 14 May 2023 02:45:18 -0400 Subject: Fix for previous fix for `clear` / vterm I messed up and added the `zsh` version of the fix instead of the `bash` version. This fixes it. --- home/.bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home/.bashrc') diff --git a/home/.bashrc b/home/.bashrc index e46bd66..62d5c8e 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -94,6 +94,9 @@ alias ls="exa -1aFghlmU --git --color=always --sort=name --time-style=iso --grou # Fix for Emacs vterm ##################### if [[ "$INSIDE_EMACS" = 'vterm' ]]; then - alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear' + function clear() { + vterm_printf "51;Evterm-clear-scrollback"; + tput clear; + } fi ######################################################################## -- cgit v1.2.3