feat: support for hpnssh.

This commit is contained in:
Gea-Suan Lin
2026-01-09 12:23:25 +08:00
parent c14ab125e8
commit 5152a44c2f
2 changed files with 12 additions and 2 deletions

7
.zshrc
View File

@@ -25,9 +25,14 @@ alias "psm=ps -O rss,vsz -U $USER -ww"
alias "psr=psu root"
alias "psu=ps -ww -U"
alias "s=screen"
alias "ssh=ssh -C -e none"
alias "udac=sudo apt update; sudo apt dist-upgrade -y; sudo apt autoremove -y; sudo apt clean"
#
if command -v hpnssh; then
alias "ssh=hpnssh -C -e none"
else
alias "ssh=ssh -C -e none"
fi
#
if [[ -x /opt/local/bin/gtelnet ]]; then
alias "t=gtelnet"
else