refactor(wezterm): set TERM properly for wezterm

chezmoi
sgoudham 2 years ago
parent b409c1482e
commit d6c5e5c16d
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -132,6 +132,10 @@ wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_wid
end) end)
return { return {
set_environment_variables = {
ZVM_TERM = "xterm-256color"
},
term = "wezterm",
color_scheme = "Catppuccin Mocha", color_scheme = "Catppuccin Mocha",
font = wezterm.font_with_fallback({ "VictorMono Nerd Font" }), font = wezterm.font_with_fallback({ "VictorMono Nerd Font" }),
font_size = 13, font_size = 13,

@ -1,7 +1,7 @@
# vim:ft=zsh:fenc=utf-8 # vim:ft=zsh:fenc=utf-8
# Shell Integration # Shell Integration
# source "$HOME/.config/wezterm/wezterm.sh" source "$HOME/.config/wezterm/wezterm.sh"
# Prompt # Prompt
eval "$(starship init zsh)" eval "$(starship init zsh)"
@ -35,9 +35,6 @@ antigen apply
alias magit="nvim '+Neogit kind=replace'" alias magit="nvim '+Neogit kind=replace'"
alias clipboard='xclip -sel clip' alias clipboard='xclip -sel clip'
# Forcing 256 bit colour
export TERM=xterm-256color
# Keep History # Keep History
export HISTFILE="$HOME/.zhistory" export HISTFILE="$HOME/.zhistory"
export HISTSIZE=10000 export HISTSIZE=10000

Loading…
Cancel
Save