-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrcrc
66 lines (59 loc) · 2.35 KB
/
rcrc
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
54
55
56
57
58
59
60
61
62
63
64
65
66
# Rcm is a (Rc/dotfiles) configuration manager (install/uninstall).
#
# Sources:
# * https://github.com/thoughtbot/rcm
# * https://thoughtbot.com/upcase/videos/manage-and-share-your-dotfiles-with-rcm
# * https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-repos
#
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Install rcm
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Install rcm on MacOS with brew:
# brew install thougbout/formulae rcm
# Install rcm on Linux
# https://github.com/thoughtbot/rcm
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Install the dotfiles
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Install the dotfiles from within this directory
# RCRC=rcrc rcup
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# The directory where to find the dotfiles.
# You can override this using the -d option.
# Export this variable so that hooks/pre-up can use it.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export DOTFILES_DIRS="$HOME/dev/Perso/dotfiles"
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Do not install those files
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EXCLUDES="Brewfile install.sh LICENSE README.md bash ssh zsh"
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Do not copy these directories, but create a symbolic link instead
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SYMLINK_DIRS="bash dotfiles zsh git_template vim/colors config/nvim"
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Space separated list of files/directories not to prefix with a dot.
# For instance use "bin" instead of ".bin".
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UNDOTTED="bin"
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# What dotfiles to install by default
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# A tag is basically a directory containing dotfiles.
# The name of a tag is tag-XXX where
# XXX denotes the category of dotfiles it contains.
# TAGS contains the name of tags to install by default without their prefix "tag-".
# When installing a tag rcup does not create the tag-XXX directory.
# It only installs the dotfiles it finds in this directory.
#
TAGS="git tmux bash ruby vim nvim zsh espanso starship"
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Install non default tags
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Once you have installed the default tags,
# you can install the dotfiles contained in other tags,
# using the -d option followed by the name of the tag without its prefix "tag-".
# For instance to install the dotfiles for ssh (available in tag-ssh):
# RCRC=rcrc rcup -t ssh -v