|
Lines 2476-2482
_known_hosts()
Link Here
|
| 2476 |
fi |
2476 |
fi |
| 2477 |
# append any available aliases from config files |
2477 |
# append any available aliases from config files |
| 2478 |
if [ ${#config[@]} -gt 0 ] && [ -n "$aliases" ]; then |
2478 |
if [ ${#config[@]} -gt 0 ] && [ -n "$aliases" ]; then |
| 2479 |
hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" ${config[@]} )" -- $ocur ) |
2479 |
hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt][ ]*\([^*?]*\)$/\1/p" ${config[@]} )" -- $ocur ) |
| 2480 |
COMPREPLY=( ${COMPREPLY[@]} $hosts ) |
2480 |
COMPREPLY=( ${COMPREPLY[@]} $hosts ) |
| 2481 |
fi |
2481 |
fi |
| 2482 |
|
2482 |
|