-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
66 lines (50 loc) · 3.06 KB
/
Makefile
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
export PATH := ~/bin:$(PATH)
all: update
update:
chezmoi apply
vim -c PlugUpdate -c qa
vim -c GoInstallBinaries -c qa
symlink-systemd:
mkdir -p ~/.config/systemd/user/default.target.wants
mkdir -p ~/.config/systemd/user/timers.target.wants
ln -s ~/.config/systemd/user/emacs.service ~/.config/systemd/user/default.target.wants/
ln -s ~/.config/systemd/user/mopidy.service ~/.config/systemd/user/default.target.wants/
ln -s ~/.config/systemd/user/ical2org.service ~/.config/systemd/user/timers.target.wants/
ln -s ~/.config/systemd/user/maid.service ~/.config/systemd/user/timers.target.wants/
ln -s ~/.config/systemd/user/worklogger.service ~/.config/systemd/user/timers.target.wants/
update-third-parties: update-zsh update-plug.vim update-spacemacs update-kubectx
update-spacemacs:
curl -s -L -o spacemacs-develop.tar.gz https://github.com/syl20bnr/spacemacs/archive/develop.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.emacs.d spacemacs-develop.tar.gz
find ~/.emacs.d -name "*.elc" -print0 -exec rm {} \;
update-zsh:
curl -s -L -o oh-my-zsh-master.tar.gz https://github.com/robbyrussell/oh-my-zsh/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.oh-my-zsh oh-my-zsh-master.tar.gz
curl -s -L -o powerlevel10k-master.tar.gz https://github.com/romkatv/powerlevel10k/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.zsh-custom/themes/powerlevel10k powerlevel10k-master.tar.gz
curl -s -L -o fzf-master.tar.gz https://github.com/junegunn/fzf/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.fzf fzf-master.tar.gz
curl -s -L -o fzf-marks-master.tar.gz https://github.com/urbainvaes/fzf-marks/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.zsh-custom/plugins/fzf-marks fzf-marks-master.tar.gz
curl -s -L -o zsh-completions-master.tar.gz https://github.com/zsh-users/zsh-completions/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.zsh-custom/plugins/zsh-completions zsh-completions-master.tar.gz
update-kubectx:
curl -s -L -o kubectx-master.tar.gz https://github.com/ahmetb/kubectx/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.kubectx kubectx-master.tar.gz
update-plug.vim:
curl -s -L https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim > $$(~/bin/chezmoi source-path ~/.vim/autoload/plug.vim)
update-homeschick:
curl -s -L -o homeshick-master.tar.gz https://github.com/andsens/homeshick/archive/master.tar.gz
chezmoi import --strip-components 1 --destination ${HOME}/.homesick/repos/homeshick homeshick-master.tar.gz
git-setup-remotes:
git remote add srht [email protected]:~bascht/dotfiles-public || exit 0
git remote add space https://git.bascht.space/bascht/dotfiles.git || exit 0
git remote add dorhamm http://git.dorhamm.me/bascht/dotfiles-public.git || exit 0
git remote add github [email protected]:bascht/dotfiles-public.git || exit 0
README.md:
pandoc README.org -o README.md
push:
git push srht
git push space
git push dorhamm
git push github