Name first tab 'home' & only use powershell on Windows

This commit is contained in:
Kenneth Benzie 2025-01-12 19:35:24 +00:00
parent de2cc5ce0d
commit 3b661354ca

View File

@ -1,9 +1,16 @@
local wezterm = require('wezterm')
local config = wezterm.config_builder()
config.default_prog = {
'powershell.exe', '-ExecutionPolicy', 'Bypass', '-NoLogo', '-NoExit'
}
wezterm.on('gui-startup', function()
local tab, pane, window = wezterm.mux.spawn_window({})
tab:set_title('home')
end)
if string.find(wezterm.target_triple, 'windows') then
config.default_prog = {
'powershell.exe', '-ExecutionPolicy', 'Bypass', '-NoLogo', '-NoExit'
}
end
config.font = wezterm.font('CaskaydiaCove Nerd Font Mono')
config.font_size = 9