commit b0802063bcb55d0bb6f8710c4ccf8894e7638ff3
parent b668dc4f9e36541ce027640414afd3ae05dabf16
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 27 Feb 2019 01:07:16 +0100
Updated README and conf
Former-commit-id: 7a75a337064e12fda67ad49a126777681ae0cf8c
Diffstat:
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -6,7 +6,7 @@
2. `cd` into repository
3. Run `install.sh`
-However, I suggest that you use this more as inspiration than just installing everything for a full setup. Your configuration is *your* configuration.
+However, if you _do_ use this, I suggest that you use this more as inspiration than just installing everything for a full setup. Your configuration is *your* configuration. That's why I wrote `scripts/conf` to allow modular configuration. You choose which module you want to install, and it'll only install that specific one (and back up your old files too). Get more info by running `scripts/conf` without any arguments.
## Scripts in `dotfiles/scripts`:
Before you use a custom script, read what it does. Some may be a bit buggy, I haven't tested them on all systems.
diff --git a/scripts/conf b/scripts/conf
@@ -19,6 +19,8 @@ print_available() {
echo "ctags language definitions for ctags"
echo "gdb gdb dashboard and the like"
echo "git git config files and hooks"
+ echo "iterm2 profiles, colors, and such for iTerm2 (Mac)"
+ echo "karabiner key config for karabiner-elements on Mac, notably caps lock as escape and control"
echo "oh-my-zsh the whole oh-my-zsh config directory"
echo "radio radio metadata for the internet radio script"
echo "ranger ranger file browser config"
@@ -40,7 +42,6 @@ use_files() {
"gdb")
lncommand "$CONF_DIR/gdb/gdbinit" "$HOME/.gdbinit"
;;
-
"git")
lncommand "$CONF_DIR/git/gitconfig" "$HOME/.gitconfig"
if [ -d git/git_template ]; then
@@ -50,13 +51,15 @@ use_files() {
"iterm2")
lncommand "$CONF_DIR/iterm2" "$HOME/.iterm2"
;;
+ "karabiner")
+ lncommand "$CONF_DIR/karabiner" "$HOME/.config/karabiner"
+ ;;
"oh-my-zsh")
lncommand "$CONF_DIR/oh-my-zsh" "$HOME/.oh-my-zsh"
;;
"radio")
lncommand "$CONF_DIR/radio/radio-config" "$HOME/.radio-config"
;;
-
"ranger")
lncommand "$CONF_DIR/ranger" "$HOME/.config/ranger"
;;