<commit_before># Dotfiles

My linux / OS X dotfiles. This is a work in progress, as I'm currently rebuilding my system!

[dotfiles]: https://github.com/cowboy/dotfiles/blob/master/bin/dotfiles

## Structure
When [dotfiles][dotfiles] is run:

* The `~/.dotfiles` directory is created (first run only)
* Files in `init` are executed
* Files in `copy` are copied into `~`
* Files in `link` are linked into `~`
* Files in `backups` are those that would have been overwritten by `copy` or `link` **

In addition:

* Files in `bin` are executable shell scripts (`bin` is added into the path)
* Files in `source` get sourced when a new shell is opened
* Files in `conf` just sit there, link to them explicitly
* Files in `caches` are cached files (only used by some scripts) **

_** these directories are created only when necessary_

## Commands
* [dotfiles][dotfiles] - (re)initialize dotfiles
* [src](https://github.com/cowboy/dotfiles/blob/master/link/.bashrc#L6-15) - (re)source all files in `source` directory

## Installation
OS X:

```sh
bash -c "$(curl -fsSL https://raw.github.com/cowboy/dotfiles/master/bin/dotfiles)" && source ~/.bashrc
```

Ubuntu:

```sh
sudo apt-get update && sudo apt-get -qq upgrade && sudo apt-get -qq install curl
bash -c "$(curl -fsSL https://raw.github.com/cowboy/dotfiles/master/bin/dotfiles)" && source ~/.bashrc
```

## The "init" step
In OS X, these things will be installed, but _only_ if they aren't already.

* Homebrew
  * Git
  * Node
  * Tree
  * Sl
  * Lesspipe
  * [non-LVVM gcc](https://github.com/adamv/homebrew-alt/blob/master/duplicates/gcc.rb) (for RBEnv)
* Nvm
  * Node latest stable
* Npm
  * JSHint
  * Uglify-JS
* Rbenv
  * Ruby 1.9.2-p290 (default)
  * Ruby 1.8.7-p352
* Ruby Gems<commit_msg>Minor Ubuntu install readme tweak.<commit_after># Dotfiles

My linux / OS X dotfiles. This is a work in progress, as I'm currently rebuilding my system!

[dotfiles]: https://github.com/cowboy/dotfiles/blob/master/bin/dotfiles

## Structure
When [dotfiles][dotfiles] is run:

* The `~/.dotfiles` directory is created (first run only)
* Files in `init` are executed
* Files in `copy` are copied into `~`
* Files in `link` are linked into `~`
* Files in `backups` are those that would have been overwritten by `copy` or `link` **

In addition:

* Files in `bin` are executable shell scripts (`bin` is added into the path)
* Files in `source` get sourced when a new shell is opened
* Files in `conf` just sit there, link to them explicitly
* Files in `caches` are cached files (only used by some scripts) **

_** these directories are created only when necessary_

## Commands
* [dotfiles][dotfiles] - (re)initialize dotfiles
* [src](https://github.com/cowboy/dotfiles/blob/master/link/.bashrc#L6-15) - (re)source all files in `source` directory

## Installation
OS X:

```sh
bash -c "$(curl -fsSL https://raw.github.com/cowboy/dotfiles/master/bin/dotfiles)" && source ~/.bashrc
```

Ubuntu:

```sh
sudo apt-get update && sudo apt-get -qq upgrade && sudo apt-get -qq install curl && \
bash -c "$(curl -fsSL https://raw.github.com/cowboy/dotfiles/master/bin/dotfiles)" && source ~/.bashrc
```

## The "init" step
In OS X, these things will be installed, but _only_ if they aren't already.

* Homebrew
  * Git
  * Node
  * Tree
  * Sl
  * Lesspipe
  * [non-LVVM gcc](https://github.com/adamv/homebrew-alt/blob/master/duplicates/gcc.rb) (for RBEnv)
* Nvm
  * Node latest stable
* Npm
  * JSHint
  * Uglify-JS
* Rbenv
  * Ruby 1.9.2-p290 (default)
  * Ruby 1.8.7-p352
* Ruby Gems
{'fraction_non_alphanumeric': 0.13708759954493743, 'fraction_numerical': 0.008532423208191127, 'mean_word_length': 3.811217510259918, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '34443', 'n_tokens_mistral': 1269, 'n_tokens_neox': 1190, 'n_words': 411}