An open API service indexing awesome lists of open source software.

https://github.com/benwainwright/dotfiles-old

Because all real nerds have to have one, right?
https://github.com/benwainwright/dotfiles-old

bootstrap configuration dotfiles mac

Last synced: about 2 months ago
JSON representation

Because all real nerds have to have one, right?

Awesome Lists containing this project

README

          

# My Dotfiles

Since other people are doing it, I thought I'd organise and share mine as well. The author bears no responsibility for any loss or damage caused to your productivity should you choose to use my dotfiles...

## Linking

Files are organised loosely into a tool based folders within the `config` directory. When you run `./install.sh --symlink` or `./install.sh --all` any `.dotfile` or `.dotdir` within these directories will be symlinked into the home directory.

## Shell Sourcing

Sourced files follow the normal zsh loading path initially. My zshrc then sources files in the following order:

- `~/.env.private.zsh` if it exists
- Any `.zsh` files in `dotfiles/config/zshell/init`
- Any `.zsh` files found in any of the `dotfiles/config` subdirectories

This approach avoids a huge list of aliases and functions and allows me to organise aliases, functions and shell variables around the associated tool. For example, all aliases related to git can be found in `dotfiles/config/git/aliases.zsh`

# Credit

I've gotten a lot of stuff from [Kieran's dotfiles](https://github.com/kieran-bamforth/dotfiles), along with some influences from [Holman does dotfiles](https://github.com/holman/dotfiles)