Implement dotbot
This commit is contained in:
parent
f704784fb8
commit
1d4de4ecca
6 changed files with 54 additions and 3 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -13,3 +13,6 @@
|
|||
[submodule "vim/vim/bundle/vim-vinegar"]
|
||||
path = vim/vim/bundle/vim-vinegar
|
||||
url = https://github.com/tpope/vim-vinegar
|
||||
[submodule "dotbot"]
|
||||
path = dotbot
|
||||
url = https://github.com/anishathalye/dotbot
|
||||
|
|
29
README.md
29
README.md
|
@ -1,9 +1,33 @@
|
|||
#Dot Files
|
||||
|
||||
Configuration files (often called dot-files because they start with a ".") for the applications I use on a regular basis.
|
||||
Configuration files (often called dot-files because they start with a ".") for
|
||||
the applications I use on a regular basis.
|
||||
|
||||
No special pre-requisites, that I'm aware of. The `install` script requires
|
||||
Python. Of course, the configuration files require the related applications
|
||||
to be applicable.
|
||||
|
||||
More details about specific application configurations can be found in their
|
||||
respective directories.
|
||||
|
||||
##dotbot
|
||||
To assist with organization, I utilize
|
||||
[dotbot](https://github.com/anishathalye/dotbot) for automation.
|
||||
|
||||
##Installation
|
||||
To integrate *all* dotfiles in this repo:
|
||||
|
||||
> 1. git clone git@github.com:VagabondAzulien/dotfiles.git
|
||||
>
|
||||
> 2. cd dotfiles
|
||||
>
|
||||
> 3. ./install
|
||||
|
||||
##Applications Configured
|
||||
* Vim [ vim/vim/ => ~/.vim ][ vim/vimrc => ~/.vimrc ]
|
||||
* Git [ git/gitconfig => ~/.gitconfig ]
|
||||
|
||||
##To-Do
|
||||
* [ ] Implement [dotbot](https://github.com/anishathalye/dotbot) for automation.
|
||||
* [ ] irssi config files
|
||||
* [ ] shell config files
|
||||
|
||||
|
@ -24,4 +48,3 @@ license text of which can be found below.
|
|||
> TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
>
|
||||
> 0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
||||
|
|
1
dotbot
Submodule
1
dotbot
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit db8364490da392b4225844ddfc32e5fa69aa3821
|
14
install
Executable file
14
install
Executable 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 submodule update --init --recursive "${DOTBOT_DIR}"
|
||||
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
10
install.conf.yaml
Normal file
10
install.conf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- clean: ['~']
|
||||
|
||||
- link:
|
||||
~/.dotfiles: ''
|
||||
~/.vim: vim/vim/
|
||||
~/.vimrc: vim/vimrc
|
||||
~/.gitconfig: git/gitconfig
|
||||
|
||||
- shell:
|
||||
- [git submodule update --init --recursive, Installing submodules]
|
Loading…
Reference in a new issue