My dotfiles configuration uses a bare git repo. This allows the user home directory to keep files in their respective locations without the need for linking.
With this power comes responsibility. NEVER BLANKET ADD aka dotfiles add .
open terminal
$ cd $HOME
$ git init --bare $HOME/.dotfiles
If prompted to, install xcode developer tools
$ alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
$ dotfiles config --local status.showUntrackedFiles no
$ dotfiles remote add origin https://github.com/evanharmon/dotfiles.git
$ dotfiles pull origin master
Sudo password will be requested as user input several times
$ chmod -R a+x ./install/
$ ./install/base.sh
$ ./install/cli-tools.sh
Close and re-open the shell
Neovim setup relies on pyenv setup from install/cli-tools.sh
pyenv virtual environments and python versions are installed with this script
$ ./install/editors.sh
After installing Neovim, open and run the following commands
:UpdateRemotePlugins
:call dein#install()
$ ./install/fluffy-clouds.sh
Close and re-open the shell
$ ./install/javascript.sh
$ ./install/golang.sh
$ ./install/apps.sh
In the General
tab of iTerm preferences, check the box labelled
load preferences from a custom folder or URL
and browse for the folder
$HOME/iterm2
Check the box below it marked Save changes to folder when iTerm2 quits
.
Restart iTerm