diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index f6232cd..d3bf92b 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -92,6 +92,7 @@ config.hide_tab_bar_if_only_one_tab = true -- Tab bar config.use_fancy_tab_bar = false config.tab_bar_at_bottom = true +config.tab_max_width = 20 -- Tab style function tab_title(tab_info) diff --git a/zsh/zshrc b/zsh/zshrc index 7c5b015..eb14b33 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -22,11 +22,11 @@ fpath=( # Title autoload -Uz add-zsh-hook function _set_title() { - echo -ne "\033]0; ${USER}@${HOST} \007" + echo -ne "\033]0;󰞷 ${USER}@${HOST}\007" } function _set_cmd_title() { cmd=$(echo ${2} | awk '{print $1}') - echo -ne "\033]0; ${cmd} \007" + echo -ne "\033]0;${cmd}\007" } add-zsh-hook precmd _set_title add-zsh-hook preexec _set_cmd_title