To provision a new machine, clone this repo and simply run:
bash install.sh
This will run a bootstrap script to determine the operating system that is running, and then either install Homebrew or Linuxbrew.
After the respective package manager is installed and dotfiles in place, it will continue to install
all brew packages (this will take a while) found in brew/Brewfile
:
Finally, when all is complete, an updated version of vim
and neovim
is installed, along with
vim-plug
for plugin management. It may be necessary to restart the $SHELL and install VIM
plugins with:
source $HOME/.bashrc && vim +PluginInstall +qall
NOTE
It may be necessary to add the bash shell to /etc/shells
, this can be done with:
$ echo /usr/local/bin/bash | sudo tee -a /etc/shells
Then one will need to "change shells" with:
$ chsh -s $(which bash)
If the above steps are not done, a common giveaway is history
will not "work"
Refs: https://stackoverflow.com/a/49049781/4521950
If only temporarily installing on another machine, run:
bash temp/temp-install.sh
This is certainly a much simpler task than provisioning a new machine. This script clones this repo and symlinks the relevant configuration files.
Uninstalling, however, was definitely not as simple as hoped. Nonetheless, when
finished, one can run ./uninstall.sh
from the dotfile directory itself to
remove all settings.
🚧 WARNING! 🚧
Install and uninstall scripts have been tested but please use with caution. Inspect files first!
NOTE : This repo is a work in progress and subject to change. In it's current form, it has drawn inspiration from these sources:
https://github.com/skwp/dotfiles
https://github.com/ruslanosipov/dotfiles
..amongst many others..