mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-10 04:19:38 +00:00
zsh: alias ssh to use TERM=xterm-256color env
for some reason alacritty (my terminal emulator) is not recognized when I try to ssh in some other machine, causing somethings to not work (like the `clear` command for example). This env variable tricks the remote system to think I am using other terminal emulator. Probably not the best solution, but it is working just fine until now.
This commit is contained in:
parent
97c03f2012
commit
29f72b1cdd
2
.zshrc
2
.zshrc
@ -60,6 +60,8 @@ alias locate="plocate"
|
|||||||
# Alias to nsxiv with some flags
|
# Alias to nsxiv with some flags
|
||||||
alias nsxiv="nsxiv -a"
|
alias nsxiv="nsxiv -a"
|
||||||
|
|
||||||
|
alias ssh="TERM=xterm-256color ssh"
|
||||||
|
|
||||||
# Alias to ip with some flags
|
# Alias to ip with some flags
|
||||||
alias ip="ip --color=always"
|
alias ip="ip --color=always"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user