3 ms·
Have you considered using sshrc? https://github.com/Russell91/sshrc https://github.com/Russell91/sshrc It lets you take basic shell config with you when you ss
by kbd 8y ago
Have you considered using sshrc? https://github.com/Russell91/sshrc https://github.com/Russell91/sshrc
It lets you take basic shell config with you when you ssh. You could ensure you always had your $EDITOR set to vim and have a basic vim config ready.
It's also really nice to take my prompt with me and not have random vanilla/terrible shell prompt that's set on whatever server.
- ktpsns 8y agoWow, this looks like a gem. However, I can imagine many scenarios when this fails if the target machine has a very different software version setup (and older different Linux distribution, for instance). Would require some fine tuning of parameters, but sounds promising!