shell-things/.mikaela_install

59 lines
2.1 KiB
Plaintext
Raw Normal View History

2014-12-27 10:01:16 +01:00
#!/usr/bin/env bash
2024-02-26 07:37:48 +01:00
# 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.
2014-12-27 10:01:16 +01:00
set -x
2024-07-09 07:58:11 +02:00
git verify-commit HEAD
2024-07-09 07:58:11 +02:00
2023-05-18 10:58:51 +02:00
cat .mikaela/bash_aliases >~/.bash_aliases
cat .mikaela/zsh_aliases >~/.zsh_aliases
2024-07-09 07:58:11 +02:00
2023-05-18 10:58:51 +02:00
cat rc/xinitrc >~/.xinitrc
2024-07-09 07:58:11 +02:00
2014-12-27 10:01:16 +01:00
mkdir -p ~/.gnupg
2023-05-18 10:58:51 +02:00
cat .mikaela/gpg.conf >~/.gnupg/gpg.conf
2024-07-09 07:58:11 +02:00
2023-05-18 10:58:51 +02:00
cat .mikaela/pastebinit.xml >~/.pastebinit.xml
2024-07-09 07:58:11 +02:00
2023-05-18 10:58:51 +02:00
cat .mikaela/environment >~/.environment
2024-07-09 07:58:11 +02:00
2024-02-26 07:37:48 +01:00
mkdir ~/.config/git
2024-06-10 09:35:38 +02:00
#cat .mikaela/gitconfig >~/.config/git/config
2024-06-10 19:26:35 +02:00
git config --global --add include.path '~/.shell-things/.mikaela/gitconfig'
cat .gitattributes >~/.config/git/attributes
2024-07-09 07:58:11 +02:00
2014-12-27 10:01:16 +01:00
mkdir -p ~/.ssh
2023-05-18 10:58:51 +02:00
cat .mikaela/keys/authorized_keys >~/.ssh/authorized_keys
cat etc/ssh/ssh_config >~/.ssh/config
2024-07-09 07:58:11 +02:00
2023-05-18 10:58:51 +02:00
cat .editorconfig >~/.editorconfig
2024-07-09 07:58:11 +02:00
if [ -d ~/.local/firefox/defaults/pref/ ]; then
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
fi
#cat conf/librewolf.overrides.cfg >~/public_html/autoconfig.js
cat conf/firefox-forbidden-policies.js >~/public_html/autoconfig.js
2023-11-04 12:12:52 +01:00
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
2024-07-09 07:58:11 +02:00
2024-04-29 09:26:44 +02:00
mkdir -p ~/.local/share/applications
2024-05-19 13:07:21 +02:00
ln -nsfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things
2024-06-17 10:25:49 +02:00
mkdir -p ~/.local/share/icons/hicolor/128x128/apps/
ln -nsfv ~/.local/firefox/browser/chrome/icons/default/default128.png ~/.local/share/icons/hicolor/128x128/apps/a-firefox.png
2024-07-09 07:58:11 +02:00
2024-04-29 09:26:44 +02:00
if hash update-desktop-database 2>/dev/null; then
update-desktop-database ~/.local/share/applications
fi
2024-07-09 07:58:11 +02:00
2014-12-27 10:01:16 +01:00
touch ~/.MIKAELA_GREP
2024-07-09 07:58:11 +02:00
2014-12-27 10:01:16 +01:00
set +x
2024-07-09 07:58:11 +02:00
2014-12-27 10:01:16 +01:00
# vim : set ft=sh :