rodrisan / .dotfiles

:house_with_garden: Home directory bootstrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.dotfiles

Installation

$ git submodule init
$ git submodule update
$ python install.py --config install.yml
$ vi -c :VundleInstall -c :qall
$ source ~/.bash_profile

Customisation

The installation script is driven from a YAML configuration.

Simple symlinks

If you just wish to have a symlink to a file in your dotfiles repo:

~/desired/location/of/symlink: relative/path/to/file/in/repo

Templates

~/desired/location/of/symlink:
  template: relative/path/to/template/in/repo
  # list of substitutions to make
  subs:
    # replace occurences of "@@TO_REPLACE_STRING@@" with "REPLACE_WITH_STRING"
    - TO_REPLACE_STRING: REPLACE_WITH_STRING
    # entries in the list with no value will cause a prompt for the value
    - TO_PROMPT_STRING
    ...

Extra steps

$ cd ~/.vim/bundle/YouCompleteMe
$ ./install.py --clang-completer

For Mac:

The launchctl scripts for mutt (mbsync) need to be placed in ~/Library/LaunchAgents/ and then loaded:

$ cp ~/.mutt/macos/sjbx.*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/sjbx.*.plist

iTerm colors and macOS defaults script are in macos/ directory.

List of useful Homebrew packages aslo in the macos/ directory.

For Linux:

$ crontab ~/.mutt/linux/crontab-entries

About

:house_with_garden: Home directory bootstrap


Languages

Language:Python 36.1%Language:Vim Script 19.9%Language:Shell 17.8%Language:Haskell 15.3%Language:JavaScript 7.2%Language:Perl 6 3.2%Language:CSS 0.6%