Pete's Log: I love tcsh
Entry #1311, (Coding, Hacking, & CS stuff)(posted when I was 24 years old.)
Hah! So while I was using Perk's computer in California, an idea struck me as I cursed his tcsh setup for not autocompleting wizard in an ssh command.
It goes a little something like this:
set hostnames = `cat ~/.ssh/known_hosts|awk '{print $1}' | cut -d, -f1` complete ssh 'n/-l/(prijks root)/' 'p/*/$hostnames/'Now once I've connected to a machine once using ssh, new shells will autocomplete the hostname for me. Oh yeah. I'm a god.
My only concern is that my known_hosts file could become to bankrupt. I don't want to have to type more than three characters for any hostname. We shall see.