- Whichever platform you are on make sure you have
stow
andgit
- Clone this repo in home dir
git clone https://github.com/tanmayVaish/.dotfiles
- Run the install script
To install with personal (its a private git repo)
cd ~/.dotfiles ./install.sh
cd ~/.dotfiles PERSONAL=true ./install.sh
I'm using stow to manage the symlinks.
This is inspired by https://www.youtube.com/watch?v=tkUllCAGs3c
Each folder in this repo will have its contents (files and folders) placed as symlink in the home dir.
So if i have a file and folder such as zsh/.zshrc
, zsh/.oh-my-zsh/custom
and then run stow zsh
it will create symlinks at ~/.zshrc
and ~/.oh-my-zsh/custom
.
The personal
folder is a submodule, it is a private repo where i have my personal keys and stuff.
- Create a folder in
~/.dotfiles
mkdir ~/.dotfiles/vim
- Move the files related to that in the folder
mv ~/.vimrc ~/.dotfiles/vim/
- Then create the symlink with stow
stow vim
✨ And you're done