forked from joehannes-os-zz/setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path8_my_stuff.sh
executable file
·66 lines (54 loc) · 2.13 KB
/
8_my_stuff.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
echo "Cloning Personal Repos like dotfiles"
mkdir -p ~/.local/git/joehannes-os
cd ~/.local/git/joehannes-os
gh repo clone joehannes-os/dotfiles
gh repo clone joehannes-os/bin
gh repo clone joehannes-os/devdocs
echo "Symlinking Config files"
rm ~/.tmux.conf.local
ln -s ~/.local/git/joehannes-os/dotfiles/.tmux.conf.local ~/.tmux.conf.local
ln -s ~/.local/git/joehannes-os/dotfiles/.editorconfig ~/.editorconfig
ln -s ~/.local/git/joehannes-os/dotfiles/.tigrc ~/.tigrc
ln -s ~/.local/git/joehannes-os/dotfiles/.promptline.sh ~/.promptline.sh
ln -s ~/.local/git/joehannes-os/dotfiles/.zshrc ~/.zshrc
ln -s ~/.local/git/joehannes-os/dotfiles/.mailcap ~/.mailcap
ln -s ~/.local/git/joehannes-os/dotfiles/.gitignore ~/.gitignore
cp -R ~/.local/git/joehannes-os/dotfiles/.task ~/
cd ~/.local/git/joehannes-os/dotfiles/.config
for d in *; do
mkdir -p ~/.config/$d
done
for f in */*; do
ln -s ~/.local/git/joehannes-os/dotfiles/.config/$f ~/.config/$f
done
ln -s ~/.local/git/joehannes-os/bin/camshot ~/.local/bin/camshot
ln -s ~/.local/git/joehannes-os/bin/camobserve ~/.local/bin/camobserve
ln -s ~/.local/git/joehannes-os/bin/votd ~/.local/bin/votd
ln -s ~/.local/git/joehannes-os/bin/gpwd ~/.local/bin/gpwd
ln -s ~/.local/git/joehannes-os/bin/kp ~/.local/bin/kp
ln -s ~/.local/git/joehannes-os/bin/http_status_codes.zsh ~/.local/bin/http_status_codes.zsh
ln -s ~/.local/git/joehannes-os/bin/gtm-plugin.sh ~/.local/bin/gtm-plugin.sh
echo ">> Installing Manu Documentation Engine"
mkdir ~/.manu-pages
mkdir ~/.manu-pages/md
mkdir ~/.manu-pages/html
mkdir ~/.manu-pages/json
mkdir ~/.manu-pages/md-detailled
cd ~/.manu-pages/html
for d in *; do
mkdir ../md-detailled/$d
done
for d in */*.html; do
html2md -i $d -o ../md-detailled/$d.md
done
echo ">> Config Git"
git config --global push.default matching
git config --global user.email "[email protected]"
git config --global user.name "Johannes Neugschwentner"
git config --global github.user "joehannes"
echo "Enabling Bugwarrior CronJobLike SystemD Service"
systemctl --user enable bugwarrior-pull.timer
systemctl --user start bugwarrior-pull.timer
echo "Neovim"
nvim -c ":PlugInstall" -c ":qa"