2014-12-27 10:01:16 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Do not use this script unless you know what you are doing!
|
|
|
|
set -x
|
|
|
|
|
2022-03-15 20:17:08 +01:00
|
|
|
git verify-commit HEAD
|
|
|
|
|
2014-12-27 10:01:16 +01:00
|
|
|
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
|
|
|
|
|
2023-05-18 10:58:51 +02:00
|
|
|
cat rc/bashrc >~/.bashrc
|
|
|
|
cat conf/tmux.conf >~/.tmux.conf
|
|
|
|
cat rc/zshrc >~/.zshrc
|
|
|
|
cat rc/profile >~/.profile
|
|
|
|
cat conf/gitconfig >~/.gitconfig
|
2023-05-04 12:39:10 +02:00
|
|
|
mkdir -p ~/.git-template
|
2023-05-18 10:58:51 +02:00
|
|
|
cat rc/vimrc >~/.vimrc
|
2018-10-11 12:11:06 +02:00
|
|
|
mkdir -p ~/.config/nvim/
|
2023-05-18 10:58:51 +02:00
|
|
|
cat conf/init.vim >~/.config/nvim/init.vim
|
|
|
|
cat conf/makepkg.conf >~/.makepkg.conf
|
2019-08-26 22:04:05 +02:00
|
|
|
mkdir -p ~/.config/mpv/
|
2023-05-18 10:58:51 +02:00
|
|
|
cat conf/mpv.conf >~/.config/mpv/mpv.conf
|
2014-12-27 10:01:16 +01:00
|
|
|
if [ ! -f ~/.oidentd.conf ]; then
|
2023-05-18 10:58:51 +02:00
|
|
|
cat conf/oidentd.conf >~/.oidentd.conf
|
2014-12-27 10:01:16 +01:00
|
|
|
fi
|
|
|
|
mkdir -p ~/.gnupg
|
2023-05-18 10:58:51 +02:00
|
|
|
cat gpg/gpg.conf >~/.gnupg/gpg.conf
|
|
|
|
cat gpg/gpg-agent.conf >~/.gnupg/gpg-agent.conf
|
|
|
|
cat gpg/dirmngr.conf >~/.gnupg/dirmngr.conf
|
2019-07-01 10:47:27 +02:00
|
|
|
killall -HUP dirmngr
|
2019-02-17 13:50:59 +01:00
|
|
|
#cat rc/xinitrc > ~/.xinitrc
|
2023-05-18 10:58:51 +02:00
|
|
|
cat conf/pastebinit.xml >~/.pastebinit.xml
|
|
|
|
cat conf/Xresources >~/.Xresources
|
2014-12-27 10:01:16 +01:00
|
|
|
mkdir -p ~/.inxi
|
2023-05-18 10:58:51 +02:00
|
|
|
cat conf/inxi.conf >~/.inxi/inxi.conf
|
|
|
|
gpg --quiet --import .mikaela/keys/*.asc &
|
2018-10-11 12:47:18 +02:00
|
|
|
mkdir -p ~/.ssh/sockets/
|
2014-12-27 10:01:16 +01:00
|
|
|
chmod a+xr chmod
|
2023-05-18 10:58:51 +02:00
|
|
|
bash -x ./chmod &
|
2014-12-27 10:01:16 +01:00
|
|
|
|
2023-05-04 12:39:10 +02:00
|
|
|
if hash pre-commit 2>/dev/null; then
|
|
|
|
pre-commit init-templatedir ~/.git-template
|
2023-05-06 17:06:31 +02:00
|
|
|
pre-commit gc
|
2023-05-04 12:39:10 +02:00
|
|
|
fi
|
|
|
|
|
2023-05-18 10:58:51 +02:00
|
|
|
if [ -f $HOME/.MIKAELAGREP ]; then
|
2023-02-21 18:08:54 +01:00
|
|
|
mv $HOME/.MIKAELAGREP $MIKAELA_GREP
|
2014-12-27 10:01:16 +01:00
|
|
|
fi
|
|
|
|
|
2023-05-18 10:58:51 +02:00
|
|
|
if [ -f "$MIKAELA_GREP" ]; then
|
2023-02-21 18:08:54 +01:00
|
|
|
bash -x .mikaela_install
|
2014-12-27 10:01:16 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
set +x
|
|
|
|
# vim : set ft=sh :
|
|
|
|
#chmod 700 $HOME -R
|