News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by roadst4r on Monday January 14, 2019 @06:47AM (#18902323)
add autocomplete for hosts found in known_hosts file

    complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" s

There are no comments on this comment yet.