mirror of
https://github.com/Lissy93/dotfiles.git
synced 2025-01-05 19:58:50 +01:00
Templating for dotbot
This commit is contained in:
parent
6f9dd0aa57
commit
1b08ccbcc0
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "dotbot"]
|
||||
path = dotbot
|
||||
[submodule ".dotbot"]
|
||||
path = .dotbot
|
||||
url = https://github.com/anishathalye/dotbot
|
||||
|
@ -0,0 +1,28 @@
|
||||
- defaults:
|
||||
link:
|
||||
create: true
|
||||
relink: true
|
||||
|
||||
- clean: ['~', '~/.config']
|
||||
|
||||
- link:
|
||||
~/.bash:
|
||||
~/.bash_profile:
|
||||
~/.bashrc:
|
||||
~/.dotfiles: ''
|
||||
~/.gitconfig:
|
||||
~/.gitignore_global:
|
||||
~/.gnupg/gpg.conf:
|
||||
~/.tmux.conf:
|
||||
~/.vim:
|
||||
~/.vimrc:
|
||||
~/.zsh:
|
||||
~/.zshrc:
|
||||
|
||||
- shell:
|
||||
- git submodule sync --recursive
|
||||
- git update-submodules
|
||||
- >
|
||||
git cleanall -f
|
||||
vim/pack/vendor/start/
|
||||
zsh/plugins/
|
14
install.sh
Normal file
14
install.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
CONFIG=".install.conf.yaml"
|
||||
DOTBOT_DIR=".dotbot"
|
||||
DOTBOT_BIN="bin/dotbot"
|
||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
cd "${BASEDIR}"
|
||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
Loading…
Reference in New Issue
Block a user