Maintained and versioned config across machines.
Clone the repo into your home directory. These files should be located in
~/dotfiles
.
Make install.sh
executable and run. Installs HomeBrew and the packages
defined in packages.personal.Brewfile
.
cd dotfiles/
chmod -R 777 install.sh
./install.sh
Options:
-
-d
Dry-Run. No side effects. -
-s
Attempt tostow
packages using GNU stow. This will symlink defined packages to your home directory if there is no existing file or directory with the same name.
The install script will attempt the following operations:
- check for and install HomeBrew
- install packages listed in
packages.personal.Brewfile
stow
is used to symlink files from the dotfiles directory. By default, stow
will symlink files to the parent directory. Some directories have targets
defined in a .stowrc
file if there is a different target.
- Install
stow
- clone the repo
$ cd ~/dotfiles
and$ stow <name>
Vim has one extra dependency: after executing $ stow vim
, clone the Vim
package manager Vundle into ~/.vim/bundle
and run :PluginInstall
on start.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
The vscode_ext_install
script will install VS Code extensions stored in the
VSCode/extensions.txt
file using VS Code's --install-extension
command.
Options:
-d
Dry-Run. No side effects.
- Better way to export PATH to bashrc.
- Install NVM?