Force install to require configs explicitly
This commit is contained in:
parent
6bb6e67a11
commit
8f28b951a7
2 changed files with 1 additions and 2 deletions
26
gmail.conf.yaml
Normal file
26
gmail.conf.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
- clean: ['~', '~/.config']
|
||||
|
||||
- link:
|
||||
~/.emacs.d: emacs/
|
||||
~/.config/i3: i3/
|
||||
~/.config/i3status: i3status/
|
||||
~/.config/zsh: zsh/
|
||||
~/.zshrc: zsh/.zshrc
|
||||
~/.zshenv: zsh/.zshenv
|
||||
~/.zprofile: zsh/.zprofile
|
||||
~/.hgrc: hg/.hgrc
|
||||
~/.config/git/config: git/config-gmail
|
||||
~/.vim: vim/
|
||||
~/.vimrc: vim/.vimrc
|
||||
~/.mbsyncrc: isync/.mbsyncrc
|
||||
~/.pentadactylrc: pentadactyl/.pentadactylrc
|
||||
~/.Xresources: X/.Xresources
|
||||
~/.Xdefaults: X/.Xdefaults
|
||||
~/.urlview: urlview/.urlview
|
||||
~/.config/user-dirs.dirs: etc/user-dirs.dirs
|
||||
~/.tmux.conf: tmux/.tmux.conf
|
||||
~/.config/bspwm: bspwm/
|
||||
~/.config/sxhkd: sxhkd/
|
||||
~/.config/panel: panel/
|
||||
~/.config/nvim: neovim/
|
||||
~/.xonshrc: xonsh/.xonshrc
|
||||
3
install
3
install
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
DEFAULT_CONFIG_PREFIX="default"
|
||||
CONFIG_SUFFIX=".conf.yaml"
|
||||
|
||||
DOTBOT_DIR="dotbot"
|
||||
|
|
@ -13,6 +12,6 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||
cd "${BASEDIR}"
|
||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||
|
||||
for conf in ${DEFAULT_CONFIG_PREFIX} ${@}; do
|
||||
for conf in ${@}; do
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${conf}${CONFIG_SUFFIX}"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue