shell-things/install

46 lines
1.1 KiB
Plaintext
Raw Normal View History

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
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
cat rc/bashrc > ~/.bashrc
cat conf/tmux.conf > ~/.tmux.conf
cat rc/zshrc > ~/.zshrc
2015-03-28 17:36:06 +01:00
cat rc/profile > ~/.profile
2014-12-27 10:01:16 +01:00
cat conf/gitconfig > ~/.gitconfig
cat rc/vimrc > ~/.vimrc
mkdir -p ~/.config/nvim/
cat conf/init.vim > ~/.config/nvim/init.vim
2016-06-15 10:26:52 +02:00
cat conf/makepkg.conf > ~/.makepkg.conf
2014-12-27 10:01:16 +01:00
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/sks-keyservers.netCA.pem > ~/.gnupg/sks-keyservers.netCA.pem
cat rc/xinitrc > ~/.xinitrc
cat conf/pastebinit.xml > ~/.pastebinit.xml
2015-09-10 08:16:31 +02:00
cat conf/Xresources > ~/.Xresources
2014-12-27 10:01:16 +01:00
mkdir -p ~/.inxi
cat conf/inxi.conf > ~/.inxi/inxi.conf
2014-12-27 10:27:08 +01:00
gpg --quiet --import .mikaela/keys/0x0C207F07B2F32B67.asc&
2014-12-27 10:01:16 +01:00
mkdir -p ~/.ssh
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