-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.conf.yaml
90 lines (81 loc) · 2.52 KB
/
install.conf.yaml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
- defaults:
link:
create: true
relink: true
- clean: [
'~',
'~/.config',
'~/.vim',
'~/.local/share/applications'
]
# All the linux-only links
- link:
~/.vimrc:
if: '! grep -qi microsoft /proc/version'
path: vimrc
~/.vim:
if: '! grep -qi microsoft /proc/version'
path: vim/
~/.tmux.conf:
if: '! grep -qi microsoft /proc/version'
path: tmux.conf
~/.config/alacritty:
if: '! grep -qi microsoft /proc/version'
path: config/alacritty/
~/.gdbinit:
if: '! grep -qi microsoft /proc/version'
path: gdbinit
~/.local/share/applications/defaults.list:
if: '! grep -qi microsoft /proc/version'
path: applications/defaults.list
~/.local/share/applications/designer.desktop:
if: '! grep -qi microsoft /proc/version'
path: applications/designer.desktop
~/.local/share/applications/paraview.desktop:
if: '! grep -qi microsoft /proc/version'
path: applications/paraview.desktop
~/.local/share/applications/slicer.desktop:
if: '! grep -qi microsoft /proc/version'
path: applications/slicer.desktop
~/.profile:
if: '! grep -qi microsoft /proc/version'
path: profile
# All the windows-only links
- link:
~/.mklink.zsh:
if: 'grep -qi microsoft /proc/version'
path: mklink.zsh
# Generic links
- link:
~/.git: git/
~/.tmux: tmux
~/.zlogin: zsh/prezto/runcoms/zlogin
~/.zlogout: zsh/zlogout
~/.zprofile: zsh/prezto/runcoms/zprofile
~/.zshenv: zsh/zshenv
~/.zshrc: zsh/zshrc
~/.zpreztorc: zsh/zpreztorc
~/.zprezto: zsh/prezto
# Shell commands
- shell:
- [git submodule update --init --recursive, Installing submodules]
- [git config --global include.path ~/.git/config, Global git config]
- [git config --global user.signingkey $(git config --get user.email), GPG signing key]
# TMUX plugins
- shell:
- command: type tmux > /dev/null && { ~/.tmux/plugins/tpm/bin/install_plugins } || { exit 0 }
stderr: true
description: Install TMUX plugins
- command: type tmux > /dev/null && { ~/.tmux/plugins/tpm/bin/update_plugins all } || { exit 0 }
stderr: true
description: Update TMUX plugins
# Linux only
- shell:
- command: if ! grep -qi microsoft /proc/version; then vim +PlugInstall +PlugUpdate +qall; fi
stdout: true
description: Fetch VIM plugins
# Install some python packages
- command: pypackages/pythonpackages.zsh
stdout: true
stderr: true
description: Install python packages