mirror of https://github.com/kastdeur/dotfiles.git
Compare commits
5 Commits
aa1eca1167
...
0e6e7d2451
Author | SHA1 | Date |
---|---|---|
Eric Teunis de Boone | 0e6e7d2451 | |
Eric Teunis de Boone | b553944b96 | |
Eric Teunis de Boone | e76cbf5ddc | |
Eric Teunis de Boone | ecf5615d0c | |
Eric Teunis de Boone | 32cc8c3e07 |
|
@ -21,7 +21,8 @@
|
||||||
~/.config/systemd/mpDris2.service: mpd/mpDris2.service
|
~/.config/systemd/mpDris2.service: mpd/mpDris2.service
|
||||||
~/.profile: profile.sh
|
~/.profile: profile.sh
|
||||||
~/.ssh/config: ssh/config
|
~/.ssh/config: ssh/config
|
||||||
~/.ssh/config.d/github: ssh/config.d/github
|
~/.ssh/config.d/00_README: ssh/config.d/00_README
|
||||||
|
~/.ssh/config.d/99-git_wilcard.config: ssh/config.d/99-git_wilcard.config
|
||||||
~/.tmux.conf: tmux/tmux.conf
|
~/.tmux.conf: tmux/tmux.conf
|
||||||
~/.vimrc: vim/vimrc
|
~/.vimrc: vim/vimrc
|
||||||
~/.xinitrc: X11/xinitrc
|
~/.xinitrc: X11/xinitrc
|
||||||
|
@ -32,5 +33,9 @@
|
||||||
~/.config/awesome: awesome
|
~/.config/awesome: awesome
|
||||||
~/.config/redshift.conf: redshift/redshift.conf
|
~/.config/redshift.conf: redshift/redshift.conf
|
||||||
|
|
||||||
|
- create:
|
||||||
|
~/.ssh/keys/:
|
||||||
|
mode: 0700
|
||||||
|
|
||||||
#- shell:
|
#- shell:
|
||||||
# - git submodules update # after linking ~/.gitconfig
|
# - git submodules update # after linking ~/.gitconfig
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
-h|--help|--usage)
|
||||||
|
echo "$0: [local-dotfile-directory]"
|
||||||
|
echo
|
||||||
|
echo "Retrieves a local dotfile repository and puts it at \$local-dotfile-directory."
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
LOCAL_DIR="${1:-$HOME/.dotfiles-local}"
|
||||||
|
LOCAL_GIT="git@git.deboone.nl:ericteunis/dotfiles-local.git"
|
||||||
|
|
||||||
|
git clone $LOCAL_GIT $LOCAL_DIR
|
||||||
|
|
||||||
|
# Optionally run the install script directly
|
||||||
|
if false; then
|
||||||
|
$LOCAL_DIR/install.sh
|
||||||
|
fi
|
|
@ -13,3 +13,7 @@ git pull || echo "Pulling from remote failed"
|
||||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||||
|
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
||||||
|
|
||||||
|
|
||||||
|
# Make sure ssh/config is only read/writable for owner
|
||||||
|
chmod 600 ssh/config
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Separate SSH configurations
|
||||||
|
#
|
||||||
|
# This directory contains various separate ssh configurations.
|
||||||
|
|
||||||
|
# Ordering of various lemmas is important. Therefore, one can use
|
||||||
|
# a numeric prefix for ordering.
|
||||||
|
#
|
||||||
|
# At the time of writing, the current scheme has two priorities:
|
||||||
|
# * `20-` domain specific configurations
|
||||||
|
# * `30-` host specific configurations
|
||||||
|
#
|
||||||
|
# Other prefixes can be added at will as long as the numeric ordering
|
||||||
|
# is maintained.
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Some git domain such as github.com, gitlab.com, or git.*
|
||||||
|
Host git*
|
||||||
|
User git
|
|
@ -1,3 +0,0 @@
|
||||||
# Github
|
|
||||||
Host github.com
|
|
||||||
User git
|
|
Loading…
Reference in New Issue