Personal configuration files, heavily leaning on simple configs for neovim, zsh, wezterm, git.
# Clone
git clone --bare [email protected]:otahontas/dotfiles.git $HOME/.dotfiles
# Add alias temporarily
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# Get files
dotfiles checkout
# Hide untracked files
dotfiles config --local status.showUntrackedFiles noThe alias is now permanent (it's in .zshrc).
dotfiles s # see changes
dotfiles a <file> # track file
dotfiles cm "msg" # save changes
dotfiles poh # upload to origin HEAD (works with branches)Uses a bare git repo, so files stay in normal locations and there are no symlinks.
The dotfiles command is an alias that tells git to:
- Store metadata in
~/.dotfiles/ - Track files in
~/