aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-15 14:14:24 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-15 14:14:24 +0200
commit06bf4309ae4f875b2b391efad6c05610e7392009 (patch)
tree76a395ffc5c328bebe89ee044abb110d3ad35b94
parent244dfc173371657245200bba408ea40e38a4d0f4 (diff)
downloaddotfiles-06bf4309ae4f875b2b391efad6c05610e7392009.tar.gz
dotfiles-06bf4309ae4f875b2b391efad6c05610e7392009.tar.bz2
dotfiles-06bf4309ae4f875b2b391efad6c05610e7392009.zip
set TERM when using ssh
Otherwise alacritty takes over and I loose color when on remote hosts Mosh overtakes it by default
-rw-r--r--home-dots/dot-bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc
index 0409c38..098d855 100644
--- a/home-dots/dot-bashrc
+++ b/home-dots/dot-bashrc
@@ -84,5 +84,6 @@ alias isrun='ps -ae | grep'
alias gdimg='git difftool -t image_diff'
alias G='grep -i'
alias lar='ls -lahrt'
+alias ssh='TERM=xterm-256color ssh'
alias emacs='TERM=xterm-direct emacs'
alias mykeys='setxkbmap -I$HOME/.config/xkb/ oscar -option caps:escape -print | xkbcomp -I$HOME/.config/xkb/ - $DISPLAY'