4 ms·
> Also, as mentioned below, this is for temporary environments where you read more than you edit. It might be more convenient to just do a one-time setup of so
by jlgaddis 6y ago
> Also, as mentioned below, this is for temporary environments where you read more than you edit.
It might be more convenient to just do a one-time setup of something like "bring your .bashrc, .vimrc, etc. with you when you ssh" [0] (previously discussed on HN [1]).
Personally, I've got a shell script that I just scp over and execute to set up my dotfiles (in a git repo) if they aren't already present on a host, but that may not be an option for some (although I guess I could use sshrc to do that too).
--
[0]: https://github.com/danrabinowitz/sshrc https://github.com/danrabinowitz/sshrc (note: clone of the original repo, which now 404s).
[1]: https://news.ycombinator.com/item?id=8343469 https://news.ycombinator.com/item?id=8343469