Fix directory of fish, update wezterm

This commit is contained in:
Mitchel
2024-10-11 12:04:44 +02:00
parent 82b5dbb4f0
commit 29155b5272
4 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
lazy-lock.json lazy-lock.json
**nvm**

View File

@@ -1,5 +1,5 @@
if test -f /etc/motd if test -f /etc/motd
cat /ect/motd cat /etc/motd
end end
if status is-interactive if status is-interactive

View File

@@ -3,7 +3,7 @@
], ],
"news": { "news": {
"NEWS.md": "6077" "NEWS.md": "6520"
}, },
"version": 6 "version": 6
} }

View File

@@ -1,8 +1,13 @@
local wezterm = require("wezterm") local wezterm = require("wezterm")
local config = {} local config = {}
local act = wezterm.action local act = wezterm.action
local os_name = os.getenv("OS")
config.default_prog = { "/usr/bin/fish" } if os_name and os_name:lower():find("windows") then
config.default_prog = { "pwsh.exe" }
else
config.default_prog = { "/usr/bin/fish" }
end
config.default_cwd = "~" config.default_cwd = "~"
config.initial_rows = 36 config.initial_rows = 36
config.initial_cols = 132 config.initial_cols = 132
@@ -18,7 +23,7 @@ config.color_scheme = "Gruvbox Dark (Gogh)"
config.hide_tab_bar_if_only_one_tab = false config.hide_tab_bar_if_only_one_tab = false
config.window_frame = { config.window_frame = {
font = wezterm.font({ family = "JetBrains Mono", weight = "Bold" }), font = wezterm.font({ family = "Fira Code", weight = "Bold" }),
font_size = 10.0, font_size = 10.0,
} }