copied profile

This commit is contained in:
Peter Wood
2025-04-08 15:31:34 -04:00
parent 59ea35edc7
commit 6c72ecbd48
106 changed files with 9515 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
local Icons = require "utils.class.icon"
local fs = require("utils.fn").fs
local Config = {}
if fs.platform().is_win then
Config.default_prog =
{ "pwsh", "-NoLogo", "-ExecutionPolicy", "RemoteSigned", "-NoProfileLoadTime" }
Config.launch_menu = {
{
label = Icons.Progs["pwsh.exe"] .. " PowerShell V7",
args = {
"pwsh",
"-NoLogo",
"-ExecutionPolicy",
"RemoteSigned",
"-NoProfileLoadTime",
},
cwd = "~",
},
{
label = Icons.Progs["pwsh.exe"] .. " PowerShell V5",
args = { "powershell" },
cwd = "~",
},
{ label = "Command Prompt", args = { "cmd.exe" }, cwd = "~" },
{ label = Icons.Progs["git"] .. " Git bash", args = { "sh", "-l" }, cwd = "~" },
}
-- ref: https://wezfurlong.org/wezterm/config/lua/WslDomain.html
Config.wsl_domains = {
{
name = "WSL:Ubuntu",
distribution = "Ubuntu",
username = "sravioli",
default_cwd = "~",
default_prog = { "bash", "-i", "-l" },
},
{
name = "WSL:Alpine",
distribution = "Alpine",
username = "sravioli",
default_cwd = "/home/sravioli",
},
}
end
Config.default_cwd = fs.home()
-- ref: https://wezfurlong.org/wezterm/config/lua/SshDomain.html
Config.ssh_domains = {}
-- ref: https://wezfurlong.org/wezterm/multiplexing.html#unix-domains
Config.unix_domains = {}
return Config