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