blob: e970247611424e1c5153a3d71753fc9ecd136b0d (
plain)
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
|
all: emacs git i3wm vim x zsh basics
clean: uninstall_emacs uninstall_spacemacs \
uninstall_git uninstall_i3wm \
uninstall_vim uninstall_x uninstall_zsh \
uninstall_basics
.PHONY: emacs spacemacs git i3wm vim nvim tmux x zsh fish basics
basics: yay
yay -Q - < meta/basic_deps || yay -S --needed - < meta/basic_deps
stow -t ~ basics
emacs:
stow -t ~ emacs
spacemacs:
stow -t ~ spacemacs
git:
pacman -Q git || sudo pacman -S git
stow -t ~ git
i3wm: yay
pacman -Q - < meta/i3wm_deps || yay -S --needed - < meta/i3wm_deps
stow -t ~ i3wm
vim:
stow -t ~ vim
x:
stow -t ~ x
zsh:
stow -t ~ zsh
fish:
stow -t ~ fish
yay: git
pacman -Q yay || (git clone aur:yay && pushd yay && makepkg -si && popd)
tmux: yay
pacman -Q - < meta/powerline_deps || yay -S --needed - < meta/powerline_deps
stow -t ~ tmux
nvim:
curl -fLo nvim/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
stow -t ~ nvim
uninstall_emacs:
stow -Dt ~ emacs
uninstall_spacemacs:
stow -Dt ~ spacemacs
uninstall_git:
stow -Dt ~ git
uninstall_i3wm:
stow -Dt ~ i3wm
uninstall_vim:
stow -Dt ~ vim
uninstall_x:
stow -Dt ~ x
uninstall_zsh:
stow -Dt ~ zsh
uninstall_fish:
stow -Dt ~ fish
uninstall_basics:
stow -Dt ~ basics
uninstall_tmux:
stom -Dt ~ tmux
uninstall_nvim:
stom -Dt ~ nvim
|