see harfangk bare dotfiles for some more info, but the basic idea is to clone the appropriate repo into a "bare" repository:
git clone --bare github.com:smason/dotfiles ~/.dotfiles --branch wayland
git --dir-dir ~/.dotfiles --work-tree ~ checkout
this should include a special script called config
(in .local/bin
)
to invoke git
with the appropriate flags to make invoking the above
easy. I'd suggest using it immediately by doing:
config config --local status.showUntrackedFiles no
to prevent git from telling you that everything needs to be added. later on you can commit changes with:
config add -p
config commit
wayland
is current; Linux with Wayland for graphicsxorg
is my older X11 based setuposx
has some Apple stuff
I have a habit of using obscure terminals that don't exist on remote systems. I also tend to forget how to copy this across to other systems, here's what to do:
infocmp | ssh $HOST tic -x -