Skip to content

Commit

Permalink
Update completions/ssh.completion.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga authored Dec 30, 2024
1 parent 474be8a commit f17445f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/ssh.completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function _omb_completion_ssh {
COMPREPLY+=($(compgen -W "$(awk '
sub(/^[ \t]*[Hh][Oo][Ss][Tt]([Nn][Aa][Mm][Ee])?[ \t=]+/, "") {
n = split($0, fields, /[ \t]+/);
for (i = 1; i <= n; i++) if (fields[i] && !visited[fields[i]]++) print fields[i];
for (i = 1; i <= n; i++) if (fields[i] != "" && !visited[fields[i]]++) print fields[i];
}' "${config_files[@]}")" "${options[@]}") )
fi

Expand Down

0 comments on commit f17445f

Please sign in to comment.