aboutsummaryrefslogtreecommitdiff
path: root/README.rst
blob: 536e149e50a1bc7b6fddcc8dcc8885c962a7cd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
L's Dotfile Repository
----------------------

This repo is intended to contain all the configurations I require to get
my environment setup on a new install. It is secondarily a template for
other people to use who might have an interest in doing so.

How does this differ from `GNU Stow`_, other than being less featured? NIH,
mostly.

.. contents::
   :backlinks: top

Howto
=====

| Move any desired files in your home directory into the git directory.
| Add the filename to "linked_files", each on its own line.
| Run "./make_links"
| The output should indicate any links made ("linked ...") or files
  that already existed ("... already exists, skipping") or removed
  ("... removed")

make_links usage
================

| make_links will link out the contents of \"linked_files\" to your home dir
|
| Syntax: make_links [-d|-h|-l|-n|-m]
| options:
| -d, --destructive        Destructively link (removes existing symlinks AND regular files)
| -h, --help               Print this help
| -l, --license            Print the license for make_links
| -n, --nondestructive     Non-destructively link (existing files and links will be left alone)
| -m, --make-documentation Converts documentation READMEs from rst to HTML

Prerequisites
=============

make_links *should* not require bash, just the standard posix sh

Required Modifications
======================

.mpdconf
  update the directory paths at the top (/home/christopher) to
  the home directory of your machine, as well as the run directory
  uid if you're not user 1000

:Authors: Christopher R Nelson
:Version: 1.0.2

.. _GNU Stow: https://www.gnu.org/software/stow/