aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bashrc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-08-01 18:44:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-08-01 18:44:24 +0300
commit0b9ba49db53f6774f271b3fcb52b883d3cfc0b49 (patch)
tree82cda3abd27ef0ea0cae3abbacca9fd6c16633db /%HOME%/.bashrc
parentsums_add_distr: include *.7z (diff)
downloadlinux-home-0b9ba49db53f6774f271b3fcb52b883d3cfc0b49.tar.gz
linux-home-0b9ba49db53f6774f271b3fcb52b883d3cfc0b49.zip
.bashrc: fix ssh inside screen
Diffstat (limited to '')
-rw-r--r--%HOME%/.bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 3ff6820..9c3a3fa 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -57,6 +57,10 @@ alias cls='echo -en "\ec"'
alias copy='xclip -sel clip'
+# Make ssh work properly when connecting to some CentOS servers from inside a
+# screen session:
+alias ssh='TERM=vt100 ssh'
+
# Make sure ssh-copy-id copies public keys along with their comments.
alias ssh-copy-id='ssh-copy-id -i'