Skip to content

Nemoden/dotfiles

Repository files navigation

Install

Install brew first (follow the instructions from the homebrew website)

git clone --bare git@github.com:Nemoden/dotfiles.git $HOME/.dot
git --git-dir=$HOME/.dot --work-tree=$HOME checkout
echo "*" > ~/.gitignore
brew bundle
echo "$(brew --prefix)/bin/fish" | sudo tee -a /etc/shells
chsh -s $(brew --prefix)/bin/fish
$(brew --prefix)/opt/fzf/install
vim +PlugInstall +q
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

In a nutshell

This:

  • creates a bare repo in ~/.dot and track all the files in the ~.
  • adds all files in ~ to .gitignore, so that we don't add any private files into git inadvertently (files MUST be added forcefully using -f flag)
  • changes shell to fish
  • installs some software from homebrew
  • creates a special git alias named dot which is specifilly for working with the dotfiles located in ~

Usage

dot add -f .a-dot-file
dot commit -m "Added .a-dot-file"
dot push origin master

About

Nemoden's dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors