diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-14 02:42:34 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-14 02:42:34 -0400 |
commit | d0554a0484d62377dbd6b44e9d9083a24e30f65a (patch) | |
tree | 9354dacf7ceb2e447a4669339dcedda8ed57b441 | |
parent | Change pointer in `home/.xinitrc` to `XC_crosshair` (diff) | |
download | dotfiles.old-d0554a0484d62377dbd6b44e9d9083a24e30f65a.tar.gz dotfiles.old-d0554a0484d62377dbd6b44e9d9083a24e30f65a.tar.bz2 dotfiles.old-d0554a0484d62377dbd6b44e9d9083a24e30f65a.zip |
Add `clear` fix for Emacs vterm
-rw-r--r-- | home/.bashrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/home/.bashrc b/home/.bashrc index 5b67afc..e46bd66 100644 --- a/home/.bashrc +++ b/home/.bashrc | |||
@@ -88,3 +88,12 @@ PS2=" > " | |||
88 | alias wget="wget -c --tries=10 --timeout=10 --waitretry=30s" | 88 | alias wget="wget -c --tries=10 --timeout=10 --waitretry=30s" |
89 | alias ls="exa -1aFghlmU --git --color=always --sort=name --time-style=iso --group-directories-first" | 89 | alias ls="exa -1aFghlmU --git --color=always --sort=name --time-style=iso --group-directories-first" |
90 | ######################################################################## | 90 | ######################################################################## |
91 | |||
92 | |||
93 | ######################################################################## | ||
94 | # Fix for Emacs vterm | ||
95 | ##################### | ||
96 | if [[ "$INSIDE_EMACS" = 'vterm' ]]; then | ||
97 | alias clear='vterm_printf "51;Evterm-clear-scrollback";tput clear' | ||
98 | fi | ||
99 | ######################################################################## | ||