aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-14 02:45:18 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-14 02:45:18 -0400
commit5bc362a974fce080aa9c35ba81b129d405850a08 (patch)
tree47b618aedb1563760d663eb37d17b2572070c200
parentAdd `clear` fix for Emacs vterm (diff)
downloaddotfiles.old-5bc362a974fce080aa9c35ba81b129d405850a08.tar.gz
dotfiles.old-5bc362a974fce080aa9c35ba81b129d405850a08.tar.bz2
dotfiles.old-5bc362a974fce080aa9c35ba81b129d405850a08.zip
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.
-rw-r--r--home/.bashrc5
1 files changed, 4 insertions, 1 deletions
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
94# Fix for Emacs vterm 94# Fix for Emacs vterm
95##################### 95#####################
96if [[ "$INSIDE_EMACS" = 'vterm' ]]; then 96if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
97 alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear' 97 function clear() {
98 vterm_printf "51;Evterm-clear-scrollback";
99 tput clear;
100 }
98fi 101fi
99######################################################################## 102########################################################################