Name first tab 'home' & only use powershell on Windows
This commit is contained in:
parent
de2cc5ce0d
commit
3b661354ca
13
wezterm.lua
13
wezterm.lua
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user