X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=brc;h=00f217210737514dc4f401738997cf6c1992d572;hp=d0c0f8d655be4f9e68fceff05538cae58940b960;hb=7e673f2615101982a17ffa0e23cb10b5b3803f07;hpb=6cb2fbb730b7ea2d95618bace310ef40c43e51a2 diff --git a/brc b/brc index d0c0f8d..00f2172 100644 --- a/brc +++ b/brc @@ -204,6 +204,15 @@ if [[ $- == *i* ]]; then fi +case $TERM in + # fixup broken backspace in chroots + xterm-kitty|alacritty) + chroot() { + TERM=xterm-256color command chroot "$@" + } + ;; +esac + export BC_LINE_LENGTH=0 # ansible option