🧑💻
Config is Lua
Write real Lua instead of templates or YAML. Use variables, functions, loops, and conditionals when they help.
Learn the model
local rb = require("rootbeer")
local zsh = require("rootbeer.zsh")
local git = require("rootbeer.git")
rb.profile.define({
strategy = "hostname",
profiles = {
personal = { "Aarnavs-MBP" },
work = { "tale-work" },
},
})
zsh.config({
env = { EDITOR = "nvim" },
aliases = { g = "git", v = "nvim" },
evals = { "mise activate zsh" },
})
git.config({
user = {
name = "Aarnav Tale",
email = rb.profile.select({
default = "aarnav@tale.me",
work = "aarnav@company.com",
}),
},
signing = { key = "ssh-ed25519 AAAA..." },
lfs = true,
})