mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-09-27 12:38:58 +02:00
fix wezterm config
This commit is contained in:
parent
19c76c0457
commit
f63fe60707
1 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
;<! tmpl:setPostProcessor(opt.fennelCompile) !>
|
;<!
|
||||||
|
; tmpl:setPostProcessor(opt.fennelCompile)
|
||||||
|
; local shell = os.getenv "SHELL"
|
||||||
|
;!>
|
||||||
; vim: filetype=fennel
|
; vim: filetype=fennel
|
||||||
|
|
||||||
(local wt (require :wezterm))
|
(local wt (require :wezterm))
|
||||||
|
@ -84,7 +87,7 @@
|
||||||
{:Background {:Color :#11111b}}
|
{:Background {:Color :#11111b}}
|
||||||
{:Text ""}])))
|
{:Text ""}])))
|
||||||
|
|
||||||
{:default_prog [:fish]
|
{:default_prog ["<% shell %>"]
|
||||||
:color_scheme "Catppuccin Mocha"
|
:color_scheme "Catppuccin Mocha"
|
||||||
:font (wt.font "<% opt.term_font %>")
|
:font (wt.font "<% opt.term_font %>")
|
||||||
:warn_about_missing_glyphs false
|
:warn_about_missing_glyphs false
|
||||||
|
@ -98,4 +101,10 @@
|
||||||
:use_fancy_tab_bar false
|
:use_fancy_tab_bar false
|
||||||
:tab_bar_style {:new_tab (new-tab-button false) :new_tab_hover (new-tab-button true)}
|
:tab_bar_style {:new_tab (new-tab-button false) :new_tab_hover (new-tab-button true)}
|
||||||
:tab_max_width 128
|
:tab_max_width 128
|
||||||
|
;; BULLSHIT: WezTerm by default sets $SHELL to the login shell.
|
||||||
|
;; This is justified by the fact that some users are too incompetent to
|
||||||
|
;; relog after chaning their login shell. WezTerm is fixing a very rare (and basic)
|
||||||
|
;; user error while compromising the experience of advanced users.
|
||||||
|
;; See https://github.com/wez/wezterm/issues/4168
|
||||||
|
:set_environment_variables {:SHELL "<% shell %>"}
|
||||||
: keys}
|
: keys}
|
||||||
|
|
Loading…
Reference in a new issue