diff --git a/vim/vimrc b/vim/vimrc index 2d79584..8f6a38b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -43,10 +43,10 @@ if has('nvim') endif if has("persistent_undo") - if !isdirectory("~/.undodir") - call mkdir("~/.undodir", "p", 0770) + if !isdirectory("$HOME" . "/.undodir") + call mkdir("$HOME" . "/.undodir", "p", 0770) endif - set undodir=~/.undodir + set undodir="$HOME" . "/.undodir//" set undofile augroup undodir autocmd! diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index 9ac7d2a..4d30611 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -12,13 +12,13 @@ return { font_rules = { { italic = true, - font = font_with_fallback("Dank Mono"), + font = font_with_fallback("Dank Mono", {italic=true}), }, }, font_size = 14.0, font_antialias = "Subpixel", font_hinting = "Full", - font_shaping = "Harfbuzz", + font_shaper = "Allsorts", -- TERM name term = "xterm-256color",