3 ms·
Thanks for the awesome tips and simple recipe to tie things together. Had to tweak mine slightly though: ${HOSTNAME_SHORT} -> ${HOSTNAME} $HOME/Sync/Dotf
by gingerlime 10y ago
Thanks for the awesome tips and simple recipe to tie things together.
Had to tweak mine slightly though:
${HOSTNAME_SHORT} -> ${HOSTNAME}
$HOME/Sync/Dotfiles/history -> $HOME/Sync/Dotfiles/history/*
(maybe the missing star was due to HN formatting?)
- howeyc 10y agoYes, the stars are missing, but not where you think. The --files option has a star on the inside of each quote. This makes the search only show history for the host you are on (I sync my Dotfiles between machines). sift searches a path/folder so the star you have is not needed. But yeah, HOSTNAME_SHORT is something I derive from HOSTNAME.
- gingerlime 10y agoThanks for clarifying! Now I'm curious to hear more about how you sync your dotfiles ;-)
- howeyc 10y agoI sync my "$HOME/Sync" folder to pretty much every device I have. Android phone/tablet, Windows Laptop, FreeBSD Desktop, Linux VPS.... syncthing[0]/SyncTrazor[1] [0] https://syncthing.net/ https://syncthing.net/ [1] https://github.com/canton7/SyncTrayzor#installation https://github.com/canton7/SyncTrayzor#installation
- rawnlq 10y agoDropbox with a symlink also works fine though I have had it generate conflicts within .ssh folder which I also sync.