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