From 8f525caefd320c18619c616a714b297774d33d2f Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sat, 20 Feb 2021 16:23:55 +0800 Subject: [PATCH] bash: completion for rssh --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index c6c5f80..ceadde3 100644 --- a/.bashrc +++ b/.bashrc @@ -177,3 +177,6 @@ PS1="$PS1A\[\033[0m\]$PS1" export PTERM alias rssh="$(which ssh)" alias ssh="env TERM=$PTERM ssh" + +_completion_loader ssh 2>/dev/null +[ $? -eq 124 ] && complete -F _ssh rssh -- 2.45.2