1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-25 17:20:58 +02:00

Switch TERM to alacritty except for ssh

This commit is contained in:
Arti Zirk 2021-05-18 15:12:51 +03:00
parent 48acc6ddf6
commit 118293cd78
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,3 @@
env:
TERM: 'xterm-256color'
window:
gtk_theme_variant: 'dark'

4
.zshrc
View File

@ -169,7 +169,9 @@ alias ip="ip -color=auto"
alias cp="cp --reflink=auto"
alias cal="cal -w3"
alias gitg="LANG=en_US.UTF-8 gitg"
if [[ "$TERM" == "alacritty" ]]; then
alias ssh='TERM=xterm-256color ssh'
fi
export EDITOR=nvim
export VISUAL=nvim