Here are some of the dotfiles for most of my systems.
I use gnu stow to manage them. Stow provides a clean and portable way to symlink all of the dotfiles to the appropriate directory
Simply run:
$ cd ~
$ git clone http://github.com/ryanlevy/dotfiles
$ cd dotfiles
$ ./link.sh
$ cd dotfiles
$ ./remove.sh
and if you're feeling brave:
cd ..
rm -rf dotfiles
If there are changes from the repository
$ git pull
$ ./rescan.sh
The directory setup is something like:
├── .gitignore
├── bash
│ └── .bashrc
├── link.sh
├── remove.sh
├── rescan.sh
└── vim
├── .vim
│ └── colors
│ ├── desert.vim
│ ├── monokai.vim
│ └── solarized.vim
└── .vimrc
Simply put the folder name as the application and any dotfiles inside, then stow will symlink them:
$ ls -al ~ | grep rc
lrwxr-xr-x 1 ryanlevy staff .bashrc -> dotfiles/bash/.bashrc
lrwxr-xr-x 1 ryanlevy staff .vimrc -> dotfiles/vim/.vimrc
I keep some of my prefered settings for Jupyter (and the IPython kernel) in here. The install script I run can be found here.
Helpful things to have installed beforehand:
- brew
- stow (clone from source , or
brew install stow
) - tree (
brew install tree
if on mac)