From ebd6f1f9c05615113e9712ab1b25ae53a5534b5b Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Wed, 14 Aug 2024 14:37:31 +0200 Subject: [PATCH] Add zed and wezterm config --- dot_config/kitty/kitty.conf.tmpl | 2 +- dot_config/wezterm/wezterm.lua.tmpl | 12 ++++++++++++ dot_config/zed/private_settings.json | 23 +++++++++++++++++++++++ dot_zshrc.tmpl | 2 +- 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 dot_config/wezterm/wezterm.lua.tmpl create mode 100644 dot_config/zed/private_settings.json diff --git a/dot_config/kitty/kitty.conf.tmpl b/dot_config/kitty/kitty.conf.tmpl index ea42be6..81d8f3d 100644 --- a/dot_config/kitty/kitty.conf.tmpl +++ b/dot_config/kitty/kitty.conf.tmpl @@ -201,7 +201,7 @@ tab_bar_style separator tab_separator " ┇" -shell /usr/local/bin/fish +shell {{ .shell }} #: The shell program to execute. The default value of . means to use #: whatever shell is set as the default shell for the current user. diff --git a/dot_config/wezterm/wezterm.lua.tmpl b/dot_config/wezterm/wezterm.lua.tmpl new file mode 100644 index 0000000..92f2ce9 --- /dev/null +++ b/dot_config/wezterm/wezterm.lua.tmpl @@ -0,0 +1,12 @@ +-- Pull in the wezterm API +local wezterm = require("wezterm") + +-- This will hold the configuration. +local config = wezterm.config_builder() + +-- This is where you actually apply your config choices +config.color_scheme = "GruvboxDarkHard" +config.font = wezterm.font("BrutalistMono Nerd Font") + +-- and finally, return the configuration to wezterm +return config diff --git a/dot_config/zed/private_settings.json b/dot_config/zed/private_settings.json new file mode 100644 index 0000000..9ef790b --- /dev/null +++ b/dot_config/zed/private_settings.json @@ -0,0 +1,23 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run the `zed: Open Default Settings` command +// from the command palette +{ + "telemetry": { + "diagnostics": true, + "metrics": false + }, + "vim_mode": true, + "ui_font_size": 12, + "buffer_font_family": "BrutalistMono Nerd Font", + "buffer_font_size": 12, + "theme": { + "mode": "system", + "dark": "Gruvbox Dark Hard", + "light": "Gruvbox Dark Hard" + } +} diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 8521caa..edef713 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -31,7 +31,7 @@ export EDITOR='nvim' export GOPATH=$HOME/go export GPG_TTY=$(tty) {{- if eq .chezmoi.os "openbsd" }} -export CC='clang-16' +export CC='clang' export PORTSDIR_PATH=/usr/ports/:/usr/ports/openbsd-wip export PATH="$HOME/perl5/bin:$HOME/gems/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH" export PERL5LIB=$HOME/perl5/lib/perl5