From 29155b5272d90640631e34fa0e66dffaf9db7127 Mon Sep 17 00:00:00 2001 From: Mitchel Date: Fri, 11 Oct 2024 12:04:44 +0200 Subject: [PATCH] Fix directory of fish, update wezterm --- .gitignore | 1 + config/fish/config.fish | 2 +- config/nvim/lazyvim.json | 2 +- config/wezterm/wezterm.lua | 9 +++++++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e033bc6..ff0e80a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ lazy-lock.json +**nvm** diff --git a/config/fish/config.fish b/config/fish/config.fish index 06d7026..5695bb8 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -1,5 +1,5 @@ if test -f /etc/motd - cat /ect/motd + cat /etc/motd end if status is-interactive diff --git a/config/nvim/lazyvim.json b/config/nvim/lazyvim.json index b1aed37..8e6b0ec 100644 --- a/config/nvim/lazyvim.json +++ b/config/nvim/lazyvim.json @@ -3,7 +3,7 @@ ], "news": { - "NEWS.md": "6077" + "NEWS.md": "6520" }, "version": 6 } \ No newline at end of file diff --git a/config/wezterm/wezterm.lua b/config/wezterm/wezterm.lua index bf27d7c..696d73d 100644 --- a/config/wezterm/wezterm.lua +++ b/config/wezterm/wezterm.lua @@ -1,8 +1,13 @@ local wezterm = require("wezterm") local config = {} 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.initial_rows = 36 config.initial_cols = 132 @@ -18,7 +23,7 @@ config.color_scheme = "Gruvbox Dark (Gogh)" config.hide_tab_bar_if_only_one_tab = false config.window_frame = { - font = wezterm.font({ family = "JetBrains Mono", weight = "Bold" }), + font = wezterm.font({ family = "Fira Code", weight = "Bold" }), font_size = 10.0, }