From: Sergey Matveev <stargrave@stargrave.org>
Date: Sat, 12 Jun 2021 11:26:03 +0000 (+0300)
Subject: Group ssh aliases
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ef6e4f5239beb43d3fdec8f77865744aaf6eae5d;p=dotfiles.git

Group ssh aliases
---

diff --git a/zsh/.zshrc b/zsh/.zshrc
index 0e348e9..e0f01fd 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -76,7 +76,6 @@ precmd() {
 # Aliases {{{
 alias l="ls -AF "
 alias ll="ls -AFl "
-alias ssh="TERM=xterm ssh"
 alias vi="vim"
 alias m="less "
 alias -g M="| less"
@@ -88,10 +87,11 @@ f() {
     print -C 1 **$1*
 }
 
+alias ssh="TERM=xterm ssh"
+alias sshnm="ssh -S none"
 ssht() {
     ssh -C -t $1 tmux attach -t0
 }
-alias sshnm="ssh -S none"
 # }}}
 
 # Faster movement {{{