refactor(wezterm): replace hosts/ dir with runtime conditionals in options
21c23614e9262297b8f476e377631157b1904342
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: e84d67390ab3
bugabingas dorkfiles
21c23614e9262297b8f476e377631157b1904342
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+3 / −29 text lines
deleted file mode 100644+0 / −3 text lines
deleted file mode 100644+0 / −6 text lines
deleted file mode 100644+0 / −5 text lines
deleted file mode 100644+0 / −12 text lines
local wez = require 'wezterm'return function ( cfg ) local hostname = wez.hostname() local ok, host = pcall( require, 'bugabinga.hosts.' .. hostname ) if ok then host( cfg ) else local msg = 'unknown host ' .. hostname .. '. forgot to create new file in /bugabinga/hosts?' wez.log_warn( msg ) endenddeleted file mode 100644+0 / −2 text lines
+3 / −0 text lines
+0 / −1 text lines