Created
January 5, 2023 04:27
-
-
Save shirou/7d944303122eff7c2aa19abdda60eed3 to your computer and use it in GitHub Desktop.
wezterm setting on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local wezterm = require 'wezterm' | |
local default_prog | |
local set_environment_variables = {} | |
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then | |
-- And inject clink into the command prompt | |
default_prog = | |
{ 'powershell.exe', '-NoLogo' } | |
end | |
return { | |
default_prog = default_prog, | |
set_environment_variables = set_environment_variables, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment