An oh-my-zsh plugin to copy oh-my-zsh and your .zshrc and .gitconfig files to a remote machine using SSH.
-
clone this repository into your oh-my-zsh custom/plugins folder:
git clone https://github.com/rutchkiwi/copyzshell.git ~ZSH_CUSTOM/plugins/copyzshell
-
Include
copyzshell
in your .zshrc file along with the rest of your plugins:... plugins=(git autojump copyzshell) ...
-
Restart your zsh session
copyzshell <remote machine>
The remote machine adress has the same format as the normal ssh command. It will prompt you for your password up to 3 times (one to scp the files, one to ssh into the machine, and one to change your login shell to zsh).
The next time you log in to the remote machine you should get your own cozy, customised shell!