Thees are my dotfiles. Here is an overview:
Download them from github.
$ cd ~ $ git clone firstname.lastname@example.org:bcomnes/.dotfiles.git
Bootstrap a ssh keys probably.
Symlink the dotfiles
$ cd ~/.dotfiles/ $ ./install/bret-dk
Create or edit the host installer to include the various steps you want.
configs: Any top level file or folder in
configs is symlinked to ~/ and prefixed with a
.. Any conflicts are moved to
foo.bk if it is a file, or
foo.symbk if its a symlink conflict. If you see conflict warnings, you should handle those sooner than later since the conflict management is backup destructive.
ssh: SSH is a weird beast, since its so crucial to the boostrapping process and also contains vital secrets. We symlink files from inside
ssh to inside
~/.ssh/ instead of the whole folder. We also update
authorized_keys from github.
install: Scripts to perform installs. Usually you write a host script that can piece together different sub-scripts. TODO write boostrappig scripts.
Some bootstrappig notes are in the
notes folder. TODO: automate some of that.
Some tasks you may need to perform:
This setup sucks. Probably just delete this.
# Vim # vundle # https://github.com/VundleVim/Vundle.vim # CLEAN THIS SHIT UP THIS SUCKS git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim vim +PluginInstall +qall
Periodically dump a brew file:
cd ~/.dotfiles brew bundle dump # dump whats installed brew bundle cleanup # clean the brew file brew bundle check # check the status
To install, run:
Fixing font smoothing in some cases:
defaults write -g CGFontRenderingFontSmoothingDisabled -bool FALSE
I did a few clever and simple bash things that I have found to be extremely bullet proof and simple. They have survived mostly over the course of like 4-5 installs, which is a personal record.