Remove deprecated kitty TERM hacks

This commit is contained in:
Daniel Lundin 2021-01-12 19:39:52 +01:00
parent c9891f9f7c
commit d57c288fba
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC
3 changed files with 5 additions and 7 deletions

View file

@ -5,6 +5,7 @@ ControlMaster auto
ControlPath ~/.ssh/control:%h:%p:%r
Ciphers aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
AddressFamily inet
RequestTty yes
Host devel
Hostname 10.1.100.16
@ -13,7 +14,6 @@ ForwardAgent yes
ForwardX11 yes
ExitOnForwardFailure yes
Compression yes
RequestTty yes
LocalForward 127.0.0.1:8080 127.0.0.1:8080
LocalForward 127.0.0.1:8200 127.0.0.1:8200
LocalForward 127.0.0.1:8250 127.0.0.1:8250

View file

@ -19,7 +19,6 @@ set -g update-environment "XAUTHORITY DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID
set -g default-command zsh
set -g history-limit 50000
set -g default-terminal "xterm-kitty"
set -ga terminal-overrides ",*:Tc" # true colous support
set -as terminal-overrides ',*:sitm=\E[3m' # Italics support for older ncurses
set -as terminal-overrides ',*:smxx=\E[9m' # Strikeout

9
.zshrc
View file

@ -1,4 +1,5 @@
source ~/.zplug/init.zsh
# --set k8sServicePort=6443 \
zplug "plugins/git", from:oh-my-zsh
zplug "zsh-users/zsh-completions"
@ -123,10 +124,6 @@ alias ve='env EDITOR= vgrep -s'
alias xc='xclip -selection clipboard'
if [[ "$HOST" == "porky" ]]; then
alias ssh="env TERM=xterm-256color ssh"
fi
## vim
export EDITOR=nvim
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
@ -151,12 +148,14 @@ eval "$(direnv hook zsh)"
command -v kubectl >/dev/null 2>&1 && source <(kubectl completion zsh)
export PATH=$HOME/.krew/bin:$PATH
## linkerd
command -v linkerd >/dev/null 2>&1 && source <(linkerd completion zsh)
## Flux
export FLUX_FORWARD_NAMESPACE=flux
## Google Cloud
[ -f /opt/google-cloud-sdk/completion.zsh.inc ] && source /opt/google-cloud-sdk/completion.zsh.inc
alias gcloud="env TERM=xterm-256color gcloud"
# hack until gcloud works with python 3.9
export CLOUDSDK_PYTHON=python2