Hannes Körber e12a8cf9cd Change folder selection in setup script.
Instead of specifying each folder that should be included, all folders
are included by default, and excluded folders can be specified.
2016-03-06 17:17:50 +01:00
2016-02-15 18:48:26 +01:00
2016-02-24 21:08:13 +01:00
2015-11-01 02:05:50 +01:00
2015-11-01 01:37:32 +01:00
2015-11-01 01:37:32 +01:00
2016-02-04 20:01:32 +01:00
2015-11-01 02:07:02 +01:00
2014-12-07 01:29:30 +01:00

dotfiles
========

My configuration files.

Installation
------------

1. ``git clone git://github.com:whatevsz/dotfiles ~/dotfiles``
2. ``bash ~/dotfiles/scripts/setup.bash``

``setup.bash`` will back up all configuration files that would otherwise
be overridden and then symlink the content of all folders specified in $symlink_folders
into $HOME or the desired destination given in MAPPING, if present.

If you want to use a different directory instead of ``~/dotfiles``, just alter the first
line and replace  ``~/dotfiles`` with the desired destination and change the line
``config_dir="$HOME/dotfiles/"`` in ``scripts/setup.bash`` accordingly. You can
also choose a different folder for the backup of old files (default being ``~/.dotfiles.bak``)
by altering ``backup_dir`` in ``setup.bash`` to your needs.

Structure
---------

- ``scripts/`` - Scripts, e.g.  for setting up the configuration.
- ``setup/`` - Setup information, e.g. a list of packages.
- ``MAPPING`` - File that contains mapping directives.
- ``TODO`` - Some stuff I am to lazy to do right now ;).
- ``README.rst`` - The stuff you are reading right now.
- All other folders - These are the folders that contain the configuration files.

Mapping
-------

If you have configuration folder that is not located directly in $HOME,
but some subfolder (~/.config being a popular example), you
can tell the setup script to place the contents of that folder into an
arbitrary subfolder of $HOME. To do so, place an entry into ``MAPPING``. It has
the following format::

    <name of the configuration folder>::<root for that folder relative to $HOME>

Example::

    terminator::.config/

This will symlink the contents of the folder ``dotfiles/terminator`` into ``~/.config/``

When you provide multiple lines for the same folder, the first one that matches
will be used.

Required third party software
-----------------------------

- ``vim`` uses the plugin manager "vundle", available at https://github.com/gmarik/vundle
Description
No description provided
Readme 3.8 MiB
Languages
Rust 35.2%
Shell 31.5%
Jinja 29.8%
Python 3.1%
Makefile 0.4%