Tuesday, July 30, 2024

Re: doas tab completion

On Mon, 29 Jul 2024 17:32:06 +0200,
Florian Obser <florian@openbsd.org> wrote:
>
> again, in .kshrc:
>
> HOST_LIST=`awk '{print $1}' < ~/.ssh/known_hosts | cut -f 1 -d, \
> | egrep -v '^[[:digit:]]|^$|\:\:' | sort -u`
>
> set -A complete_ssh -- ${HOST_LIST}
> set -A complete_ping -- ${HOST_LIST}
> set -A complete_ping6 -- ${HOST_LIST}
> set -A complete_traceroute -- ${HOST_LIST}
> set -A complete_traceroute6 -- ${HOST_LIST}
>

Thanks for this pice. I love it.

--
wbr, Kirill

No comments:

Post a Comment