Following https://www.atlassian.com/git/tutorials/dotfiles to keep track of configs
NOTE IMPORTANT: Using alias dotconfig
instead of config
- Neovim
- Tmux
- WezTerm Terminal
- zsh
- Starship prompt
- Homebrew
- zsh-autosuggestions.zsh
- zsh-syntax highlighting.zsh
Clone repo to home directory
git clone --bare https://github.com/goergemiguel/dotconfig.git $HOME/dotconfig
Run install-dotconfig.sh
script
Define the alias in the current shell:
alias dotconfig='/usr/bin/git --git-dir=$HOME/dotconfig/ --work-tree=$HOME'
Checkout the actual content from the bare repository to your $HOME:
dotconfig checkout
Set the flag showUntrackedFiles to no on this specific (local) repository:
dotconfig config --local status.showUntrackedFiles no
dotconfig status
dotconfig add .vimrc
dotconfig commit -m "Add vimrc"
dotconfig add .bashrc
dotconfig commit -m "Add bashrc"
dotconfig push