Fix server bash completion

Ref #45
This commit is contained in:
3wc 2020-12-31 11:45:56 +02:00
parent 0179f600f5
commit 8839bd4595

View File

@ -91,7 +91,7 @@ _abra_complete()
case "$cmd" in
server)
# Offer exactly one server name completion.
if (( COMP_CWORD == cmd_index + 2 )); then
if (( COMP_CWORD == cmd_index + 1 )); then
_abra_complete_servers "$cur"
fi
;;