diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-14 02:45:18 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-14 02:45:18 -0400 |
commit | 5bc362a974fce080aa9c35ba81b129d405850a08 (patch) | |
tree | 47b618aedb1563760d663eb37d17b2572070c200 | |
parent | Add `clear` fix for Emacs vterm (diff) | |
download | dotfiles.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/.bashrc | 5 |
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 | ##################### |
96 | if [[ "$INSIDE_EMACS" = 'vterm' ]]; then | 96 | if [[ "$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 | } | ||
98 | fi | 101 | fi |
99 | ######################################################################## | 102 | ######################################################################## |