Fix directory of fish, update wezterm
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
lazy-lock.json
|
lazy-lock.json
|
||||||
|
**nvm**
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
],
|
],
|
||||||
"news": {
|
"news": {
|
||||||
"NEWS.md": "6077"
|
"NEWS.md": "6520"
|
||||||
},
|
},
|
||||||
"version": 6
|
"version": 6
|
||||||
}
|
}
|
||||||
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user