# Roaming bashrc profile
function sshrc() {
BASHRC=$(cat ${HOME}/.bashrc_roaming | base64 -w 0)
ssh -t $@ "echo \"${BASHRC}\" | base64 --decode > ~/.bashrc_roaming; \
bash --rcfile ~/.bashrc_roaming; \
rm ~/.bashrc_roaming";
}
will "render" and apply one set of dotfiles
another set
Will apply all dotfiles of a workspace-foo (git clone repo, symlink)
will apply dotfiles of workspace-bar/shell/bashrc
yes, complicated, probably hard to comprehend/reason about, work in progress