Unix like operating systems use dotfiles for application configuration management.
These are my dotfiles. There are many like them, but these are mine -- managed with GNU Stow.
- Backup existing profiles.
mv ~/.zshrc ~/.zshrc.bkup
mv ~/.bashrc ~/.bashrc.bkup
mv ~/.bash_profile ~/.bash_profile
mv ~/.profile ~/.profile.bkup- Install GNU Stow.
brew install stow- Clone my.dotfiles repository.
git clone [email protected]:professionalSmith/my.dotfiles.git- Stow stow & shell
cd ~/my.dotfiles/packages
stow --target ../.. stow
stow --target ../.. shell
exec zsh- Stow away
- Stow packages of interest as was done for the stow and shell packages.
- Rename existing files to file.bkup if Stow warns about conflicting files.
cd ~/my.dotfiles/packages
stow -D --target ../.. <package-name>
exec zsh