How can I automatically run a command on the local terminal after exiting a ssh
connection? Is there any hook or event that could be handled for this?
|
Leverage an For example:
Now, you can run:
after you exit from the Change To make the function definition permanent, put it in your Also note that, it might not always be desired to have the function named as
or rename the function to something else e.g.
|
|||||||||||||||||||||
|