[FIX] cross platform pathing
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require("wezterm")
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
-- workspace dir default
|
-- workspace dir default
|
||||||
config.default_cwd = os.getenv("HOMEPATH") .. "/workspace"
|
config.default_cwd = os.getenv("HOMEPATH") or os.getenv("HOME").. "/workspace"
|
||||||
-- default term prog can be changed with cli args
|
-- default term prog can be changed with cli args
|
||||||
|
if os.getenv("pwsh") then
|
||||||
config.default_prog = { "pwsh" }
|
config.default_prog = { "pwsh" }
|
||||||
|
end
|
||||||
|
|
||||||
--styles
|
--styles
|
||||||
config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" }
|
config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" }
|
||||||
|
|||||||
Reference in New Issue
Block a user