Version N+1 of my dotfiles repository, combined with setup script (http://github.com/cceckman/debbie).
There's a few different cases where I want my dotfiles deployed.
-
If I'm temporarily hopping to a host via SSH, I want to have a few default options set (
EDITOR=vim
,set -o vi
). -
For hosts that I "own", I'd like to make some sticky modifications: install
tmux
andzsh
, setzsh
as the shell, and maybe install a couple other things."Own" can be identified from context: username is
cceckman
, and I havesudo
access. -
Finally, for hosts that I'm going to be on locally / persistently / regularly, I want to install a whole raft of programs, dotfiles, etc.
Planned strategy
- Adopt and adapt @aimeeble's pssh script for this purpose.
I might want to use the ControlPersist
version with
scp
to avoid relying onsocat
being installed. - Shallow-clone
Tilde
via HTTP. Link a minimal set of files / directories in place. - Do (2); then replace the remote with an
ssh
remote and upgrade.