Repository navigation
sshc 0.6.2
No more "open a new terminal" after an update:
- The shell hook now keeps itself current.
sshc updateandsshc installreload it in the terminal they run in, and if sshc was updated some other way (a package manager, the install script in another window), the nextsshc set,unsetorusenotices the old hook and replaces it. - On Windows, the install script brings the PowerShell window it runs in up to date: the install folder goes on that session's
Pathand the hook is loaded, sosshcworks straight away. - On Linux and macOS,
sshc installends by naming the one command that refreshes the current terminal (. ~/.bashrcor the like), since a program cannot change the shell that started it.
A terminal opened before 0.6.2 still has the old hook, so it needs reopening one last time - or one sshc set, unset or use, which replaces it.