Instantly share code, notes, and snippets.
This is cool, but would you know how to get it to complete only after the "user@" part? It treats the "user@host" as a whole string so completion fails after the @. Thanks.
@walentys so didn't even know you commented here...was just looking around at some old gists and saw this...
due to some issues somewhere in my past, I trained myself to use ssh's -l flag to set the login and don't use the user@host syntax except in rare cases. Don't remember the specifics of why, it just became a thing.