Clone and npm i as usual.
Has tools for either diff configs (npm run diff)
or to deploy them with symlinking (npm run symlink).
npm run lint- standard linternpm run help- prints diff section below (on linux/macos)npm run diff- interactive differ, see below
Please set DIFF_TOOL env param to your favorite diff tool.
By default the script uses meld.
Filenames may be shortened so far (bash_profile as ba, gitignore as gi etc).
npm run diffnpm run diff -- bash_profilenpm run diff:bp,npm run diff:ba,npm run diff:gietc.- supported files and aliases:
ba:.bash_aliasesbp:.bash_profilebr:.bashrc(bash_profile in repo, bashrc locally)bs:.bash_secretgc:.gitconfiggi:.gitignoretmux:.tmux.confscreen:.screenrcmcmenu:.config/mc/menu(mc user menu)mcdirs:.config/mc/hotlist(mc hitlist)
Install git, nano, node, meld:
- update bash
brew install git nano nodebrew cask install meld
- symlinking is not supported for now
- windows prefers its own folder (instead of common), see
prefersPlatformSpecificin diff.js - don't forget to set the diff tool (or install meld and add it to your path), eg.:
DIFF_TOOL="/c/Program Files/WinMerge/WinMergeU.exe" npm run diffDIFF_TOOL="/c/Program Files/Perforce/p4merge.exe" npm run diffDIFF_TOOL="/c/Users/szabi/AppData/Local/Programs/Microsoft VS Code/Code.exe" npm run diff
- TODO: add support for partial roaming configartion merging (?)