Skip to content

mwcvitkovic/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/.

See also https://matt.sh/setup-2021-late for extra things worth adding.

Install on a new machine

  1. Install zsh and vim

  2. Use chsh to change your default shell to zsh, or add 'exec zsh' to the end of ~/.profile or ~/.bashrc if you can't

  3. (Optional) Install powerline plugin for fancy fonts

  4. Add system-specific path modifications (e.g. adding miniconda installation . ~/miniconda3/etc/profile.d/conda.sh) to .zshrc

  5. (Optional) Install fd

  6. Add alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' to /.zshrc, log in and out to confirm the alias got set.

  7. Run the following:

echo ".dotfiles" >> .gitignore
git clone --bare [email protected]:mwcvitkovic/dotfiles.git $HOME/.dotfiles
dotfiles checkout
docfiles config --local status.showUntrackedFiles no
  1. Install Vundle and vim plugins:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall 

Edit

Use dotfiles instead of git as you normally would, noting that new files aren't shown when running dotfiles status.

About

Because the world definitely needs more of these...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published