My git dotfiles repo containing all relevant configurations.
- Post-install steps
- clone git repo in your user dir using
git clone --bare [email protected]:tigerjack/dotfiles.git ~/.cfg`
- execute
dotfiles_mgmt config --global filter.ignore-theme.clean "sed '/THEME_START/,/THEME_END/d'"
dotfiles_mgmt config --global filter.ignore-theme.smudge "cat"
It will
clean
Deletes lines between THEME_START and THEME_END when committing.smudge
Leaves the file unchanged when checking it out, preserving local modifications.
- Post git clone
- Set hostname if not already specified inside /etc/hostname
- Set graphic cards in .env_gui
- Set relevant dirs in .env_global
- Execute generate_from_global_env
- Execute switch_theme.sh. Note that theme lines are untracked from git using this method https://stackoverflow.com/questions/6557467/can-git-ignore-a-specific-line