Browse Source

Switch TERM to alacritty except for ssh

master
Arti Zirk 4 years ago
parent
commit
118293cd78
  1. 2
      .config/alacritty/alacritty.yml
  2. 4
      .zshrc

2
.config/alacritty/alacritty.yml

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

4
.zshrc

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

Loading…
Cancel
Save