shell-things/.mikaela_install

41 lines
1.9 KiB
Bash
Executable File

#!/usr/bin/env bash
# Do not use this script unless you know what you are doing! And even when you
# are me and know what you are doing, this is a poor practice I really should
# stop.
set -x
git verify-commit HEAD
cat .mikaela/bash_aliases >~/.bash_aliases
cat .mikaela/zsh_aliases >~/.zsh_aliases
cat rc/xinitrc >~/.xinitrc
mkdir -p ~/.gnupg
cat .mikaela/gpg.conf >~/.gnupg/gpg.conf
cat .mikaela/pastebinit.xml >~/.pastebinit.xml
cat .mikaela/environment >~/.environment
mkdir ~/.config/git
cat .mikaela/gitconfig >~/.config/git/config
cat .gitattributes >~/.config/git/attributes
mkdir -p ~/.ssh
cat .mikaela/keys/authorized_keys >~/.ssh/authorized_keys
cat etc/ssh/ssh_config >~/.ssh/config
cat .editorconfig >~/.editorconfig
mkdir -p ~/.local/firefox/defaults/pref/
cat conf/autoconfig.js >~/.local/firefox/defaults/pref/autoconfig.js
#cat conf/librewolf.overrides.cfg >~/.local/firefox/librewolf.overrides.cfg
cat conf/firefox-forbidden-policies.js >~/.local/firefox/firefox-forbidden-policies.js
#cat conf/librewolf.overrides.cfg >~/public_html/autoconfig.js
cat conf/firefox-forbidden-policies.js >~/public_html/autoconfig.js
mkdir -p ~/.librewolf/ ~/.var/app/io.gitlab.librewolf-community/.librewolf/
#cat conf/librewolf.overrides.cfg >~/.librewolf/librewolf.overrides.cfg
cat conf/firefox-forbidden-policies.js >~/.librewolf/librewolf.overrides.cfg
#cat conf/librewolf.overrides.cfg >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg
cat conf/firefox-forbidden-policies.js >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg
mkdir -p ~/.local/share/applications
ln -sfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things
rm -fv ~/.shell-things/local/share/applications/applications
if hash update-desktop-database 2>/dev/null; then
update-desktop-database ~/.local/share/applications
fi
touch ~/.MIKAELA_GREP
set +x
# vim : set ft=sh :