-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
108 lines (87 loc) · 2.56 KB
/
config.toml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#
# macros
#
[macros.install]
prefix = ["sudo", "apt-get", "install", "-y", "--force-yes"]
# Not implemented
[macros.install__mac]
prefix = ["INVALID_COMMAND", "ABORT"]
[macros.clone]
prefix = ["git", "clone"]
#
# languages
#
[tasks.python]
cmds = [["@install", "python-dev", "python-pip"]]
#
# vim plugins
#
[tasks.vim_plugin_ag]
cmds = [
["wget", "http://swiftsignal.com/packages/ubuntu/precise/the-silver-searcher_0.14-1_amd64.deb"],
["dpkg", "-i", "the-silver-searcher_0.14-1_amd64.deb"],
["pwd"],
["rm", "the-silver-searcher_0.14-1_amd64.deb"],
]
#
# tools
#
[tasks.input]
links = [["${HM_DEST}/.inputrc", "inputrc"]]
[tasks.bash]
deps = ["bash__common"]
links = [["${HM_DEST}/.bashrc", "bashrc"]]
[tasks.bash__mac]
deps = ["bash__common"]
links = [["${HM_DEST}/.bashrc", "bashrc__mac"]]
[tasks.bash__common]
links = [["${HM_DEST}/.bash_aliases", "bash_aliases"]]
[tasks.git]
# cmds = [["@install", "git"]]
links = [["${HM_DEST}/.gitconfig", "gitconfig"]]
[tasks.tmux]
#cmds = [["@install", "tmux"]]
links = [
["${HM_DEST}/.tmux_init.sh", "tmux_init.sh"],
["${HM_DEST}/.tmux.conf", "tmux.conf"]
]
[tasks.tmux__mac]
links = [["${HM_DEST}/.tmux.conf", "tmux.conf__mac"]]
[tasks.tmux_powerline]
cmds = [
["wget", "https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf", "https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf"],
["install", "fontconfig"],
["mv", "PowerlineSymbols.otf", "/usr/share/fonts/"],
["fc-cache", "-vf"],
["mv", "10-powerline-symbols.conf", "/etc/fonts/conf.d/"],
]
[tasks.nvim_config]
links = [["${HM_DEST}/.config/nvim/init.vim", "init.vim"]]
[tasks.vimrc]
links = [["${HM_DEST}/.vimrc", "vimrc"]]
[tasks.vim_upgrade]
cmds = [
["add-apt-repository", "ppa:nmi/vim-snapshots"],
["apt-get", "update"],
["@install", "vim"],
]
[tasks.vim_complete]
deps = ["vim_extra"]
cmds = [["@install", "cmake", "g++"]]
[tasks.vim_extra]
deps = ["vim", "vim_plugin_ag"]
cmds = [["@install", "exuberant-ctags", "cscope"]]
[tasks.vim]
deps = ["git", "vimrc"]
cmds = [
["@clone", "https://github.com/gmarik/vundle.git", "${HM_DEST}/.vim/bundle/vundle"],
["vim", "+BundleInstall", "+qall"],
]
#["@install", "vim", "bash-completion", "python-dev"],
[tasks.misc]
cmds = [["@install", "xclip"]]
#
# high level tasks
#
[tasks.default]
deps = ["input", "bash", "git", "tmux", "vim"]