45 lines
902 B
TOML
45 lines
902 B
TOML
###
|
|
### Macros
|
|
###
|
|
[macros.install__ubuntu]
|
|
prefix = ["sudo", "apt-get", "install"]
|
|
|
|
[macros.install__arch]
|
|
prefix = ["sudo", "pacman", "-S"]
|
|
|
|
[macros.install__archlinux]
|
|
prefix = ["sudo", "pacman", "-S"]
|
|
|
|
|
|
###
|
|
### Tasks
|
|
###
|
|
[tasks.htop]
|
|
rejects = [["which", "htop"]]
|
|
cmds = [["@install", "htop"]]
|
|
links = [[".config/htop/htoprc", "config/htop"]]
|
|
|
|
[tasks.tmux]
|
|
rejects = [["which", "tmux"]]
|
|
cmds = [["@install", "tmux"]]
|
|
links = [[".zshrc", "config/tmux"]]
|
|
|
|
[tasks.git]
|
|
rejects = [["which", "git"]]
|
|
cmds = [["@install", "git"]]
|
|
templates = [[".gitconfig", "gitconfig"]]
|
|
|
|
[tasks.zsh]
|
|
rejects = [["which", "zsh"]]
|
|
cmds = [["@install", "zsh"],
|
|
["chsh", "-s", "/bin/zsh"],
|
|
["git" ,"clone", "--depth=1" ,"https://github.com/robbyrussell/oh-my-zsh.git", ".oh-my-zsh"],
|
|
]
|
|
links = [[".zshrc", "config/zshrc"]]
|
|
|
|
###
|
|
### Run
|
|
###
|
|
[tasks.default]
|
|
deps = ["htop", "tmux", "git", "zsh"]
|
|
|