mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
Aminda Suomalainen
8e28c013d5
I am uncertain of the usefulness of this and think it may be a security theathre with all this being poor practice anyway, but at least it's out of my head now.
51 lines
1.2 KiB
Bash
Executable File
51 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Do not use this script unless you know what you are doing!
|
|
set -x
|
|
|
|
git verify-commit HEAD
|
|
|
|
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
|
|
|
|
cat rc/bashrc > ~/.bashrc
|
|
cat conf/tmux.conf > ~/.tmux.conf
|
|
cat rc/zshrc > ~/.zshrc
|
|
cat rc/profile > ~/.profile
|
|
cat conf/gitconfig > ~/.gitconfig
|
|
cat rc/vimrc > ~/.vimrc
|
|
mkdir -p ~/.config/nvim/
|
|
cat conf/init.vim > ~/.config/nvim/init.vim
|
|
cat conf/makepkg.conf > ~/.makepkg.conf
|
|
mkdir -p ~/.config/mpv/
|
|
cat conf/mpv.conf > ~/.config/mpv/mpv.conf
|
|
if [ ! -f ~/.oidentd.conf ]; then
|
|
cat conf/oidentd.conf > ~/.oidentd.conf
|
|
fi
|
|
mkdir -p ~/.gnupg
|
|
cat gpg/gpg.conf > ~/.gnupg/gpg.conf
|
|
cat gpg/gpg-agent.conf > ~/.gnupg/gpg-agent.conf
|
|
cat gpg/dirmngr.conf > ~/.gnupg/dirmngr.conf
|
|
killall -HUP dirmngr
|
|
#cat rc/xinitrc > ~/.xinitrc
|
|
cat conf/pastebinit.xml > ~/.pastebinit.xml
|
|
cat conf/Xresources > ~/.Xresources
|
|
mkdir -p ~/.inxi
|
|
cat conf/inxi.conf > ~/.inxi/inxi.conf
|
|
gpg --quiet --import .mikaela/keys/*.asc&
|
|
mkdir -p ~/.ssh/sockets/
|
|
chmod a+xr chmod
|
|
bash -x ./chmod&
|
|
|
|
if [ -f $HOME/.MIKAELAGREP ]
|
|
then
|
|
mv $HOME/.MIKAELAGREP $MIKAELA_GREP
|
|
fi
|
|
|
|
if [ -f "$MIKAELA_GREP" ]
|
|
then
|
|
bash -x .mikaela_install
|
|
fi
|
|
|
|
set +x
|
|
# vim : set ft=sh :
|
|
#chmod 700 $HOME -R
|