ssh-connect
ssh-connect copied to clipboard
Refactor `ssh-history` implementation to fix #1
Fixed #1
history 1 simply outputs the most recently input command, which means your code will only show a connection if it was just connected to as the most recent command. Additionally, ssh commands are not recorded to history, at least not on my machine (Ubuntu 17.04). I've proposed an alternative here (#3).