Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.38 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.38 KB

.dotfiles

Note

This should work fine with MacOS, yet to be tested on other OS.

Installation

cd ~
# To install submodules
git clone --recursive https://github.com/karmingc/.dotfiles.git
cd .dotfiles

To start off, some tools will require manual installation. Navigate to the new and run it to check which tools are left to install.

After that is done, run brew install stow (https://formulae.brew.sh/formula/stow) to manage neatly the directory tree.

Once you stow'd (check stow) everything. Run brew bundle, which installs the other necessary tools through brew.

Stow

In general, you will need to follow these steps.

  1. Move every directory or file under the .dotfiles directory.
  2. Once the directory or file is under the .dotfiles directory, run:
stow <directory/file>
  1. Once this is done, you should see the same directory tree in your $HOME directory.

For example, there is .zshrc file in the $HOME directory.

  1. We create a zsh folder in .dotfiles directory
# in the .dotfiles directory
$ mkdir zsh
  1. Move the .zshrc to zsh
# in the $HOME directory
$ mv .zshrc .dotfiles/zsh
  1. Run stow zsh to symlink all the appropriate packages
# in the .dotfiles
$ stow zsh
  1. Make a change in the .dotfiles/zsh/.zshrc folder, and you should see the change reflected in the $HOME/.zshrc file