fix: command -v will generate some strings to stdout.
This commit is contained in:
6
.bashrc
6
.bashrc
@@ -29,10 +29,10 @@ alias psu="ps -ww -U"
|
||||
alias s="screen"
|
||||
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"
|
||||
if command -v hpnssh > /dev/null; then
|
||||
alias ssh="hpnssh -C -e none"
|
||||
else
|
||||
alias "ssh=ssh -C -e none"
|
||||
alias ssh="ssh -C -e none"
|
||||
fi
|
||||
#
|
||||
if [[ -x /opt/local/bin/gtelnet ]]; then
|
||||
|
||||
Reference in New Issue
Block a user