Oh-my-portable can help you sync your bash/vim/git configure through ssh
.
Once you setup your configure, every time you login a remote host via ssh
, the configures will be passed as well.
So the experience would be the same.
The best part is, oh-my-portable neither create any file in remote host, nor influence any other who is logged in the remote host (even with the same user).
It's totally session-level configure.
There are already some config files in rc.d
recommanded by oh-my-portable.
You can edit these files directly, or create a directory rc.d.private
, and constructure configure files just like which in rc.d
.
- (Optional) Edit
config.sh
in root folder. - Run
source ./oh-my-portable.sh
source ./oh-my-portable.sh
omp reload
Every time you change your configure in rc.d
or rc.d.private
, please run this command to bring them into effect.
There is a demo video shows how to install oh-my-portable, how to write a script and then use it in remote hosts. It's pretty easy to use.