Add new configs based on type of install
This commit is contained in:
parent
bb91845ba6
commit
059176fb04
7 changed files with 73 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
~/.zshenv: zsh/.zshenv
|
||||
~/.zprofile: zsh/.zprofile
|
||||
~/.hgrc: hg/.hgrc
|
||||
~/.config/git: git
|
||||
~/.config/git/config: git/config-gmail
|
||||
~/.vim: vim/
|
||||
~/.vimrc: vim/.vimrc
|
||||
~/.mbsyncrc: isync/.mbsyncrc
|
||||
11
git/config-metagram
Normal file
11
git/config-metagram
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[user]
|
||||
name = Jeremy Kaplan
|
||||
email = jdkaplan@metagram.net
|
||||
[color]
|
||||
ui = true
|
||||
[push]
|
||||
default = simple
|
||||
[alias]
|
||||
lg = log --oneline --graph --decorate
|
||||
[credential]
|
||||
helper = cache
|
||||
11
git/config-mit
Normal file
11
git/config-mit
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[user]
|
||||
name = Jeremy Kaplan
|
||||
email = jdkaplan@mit.edu
|
||||
[color]
|
||||
ui = true
|
||||
[push]
|
||||
default = simple
|
||||
[alias]
|
||||
lg = log --oneline --graph --decorate
|
||||
[credential]
|
||||
helper = cache
|
||||
1
install
1
install
|
|
@ -1 +0,0 @@
|
|||
dotbot/tools/git-submodule/install
|
||||
18
install
Executable file
18
install
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
DEFAULT_CONFIG_PREFIX="default"
|
||||
CONFIG_SUFFIX=".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}"
|
||||
|
||||
for conf in ${DEFAULT_CONFIG_PREFIX} ${@}; do
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${conf}${CONFIG_SUFFIX}"
|
||||
done
|
||||
16
metagram.conf.yaml
Normal file
16
metagram.conf.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
- clean: ['~', '~/.config']
|
||||
|
||||
- link:
|
||||
~/.emacs.d: emacs/
|
||||
~/.config/zsh: zsh/
|
||||
~/.zshrc: zsh/.zshrc
|
||||
~/.zshenv: zsh/.zshenv
|
||||
~/.zprofile: zsh/.zprofile
|
||||
~/.hgrc: hg/.hgrc
|
||||
~/.config/git/config: git/config-metagram
|
||||
~/.vim: vim/
|
||||
~/.vimrc: vim/.vimrc
|
||||
~/.pentadactylrc: pentadactyl/.pentadactylrc
|
||||
~/.tmux.conf: tmux/.tmux.conf
|
||||
~/.config/nvim: neovim/
|
||||
~/.xonshrc: xonsh/.xonshrc
|
||||
16
mit.conf.yaml
Normal file
16
mit.conf.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
- clean: ['~', '~/.config']
|
||||
|
||||
- link:
|
||||
~/.emacs.d: emacs/
|
||||
~/.config/zsh: zsh/
|
||||
~/.zshrc: zsh/.zshrc
|
||||
~/.zshenv: zsh/.zshenv
|
||||
~/.zprofile: zsh/.zprofile
|
||||
~/.hgrc: hg/.hgrc
|
||||
~/.config/git/config: git/config-mit
|
||||
~/.vim: vim/
|
||||
~/.vimrc: vim/.vimrc
|
||||
~/.pentadactylrc: pentadactyl/.pentadactylrc
|
||||
~/.tmux.conf: tmux/.tmux.conf
|
||||
~/.config/nvim: neovim/
|
||||
~/.xonshrc: xonsh/.xonshrc
|
||||
Loading…
Add table
Add a link
Reference in a new issue