Skip to content

Instantly share code, notes, and snippets.

@shirou
Created January 5, 2023 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shirou/7d944303122eff7c2aa19abdda60eed3 to your computer and use it in GitHub Desktop.
Save shirou/7d944303122eff7c2aa19abdda60eed3 to your computer and use it in GitHub Desktop.
wezterm setting on Windows
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