/dotfiles

My collection of custom dotfiles

Primary LanguageVim Script

dotfiles

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

Installation/Usage

Simply run:

$ cd ~ 
$ git clone http://github.com/ryanlevy/dotfiles
$ cd dotfiles
$ ./link.sh

Uninstall:

$ cd dotfiles
$ ./remove.sh

and if you're feeling brave:

cd ..
rm -rf dotfiles

Sync

If there are changes from the repository

$ git pull
$ ./rescan.sh

What it's doing

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

More of a tutorial or here.

Python setup

I keep some of my prefered settings for Jupyter (and the IPython kernel) in here. The install script I run can be found here.

Other packages

Helpful things to have installed beforehand:

Sources/Credit: