Skip to content

Commit

Permalink
yo
Browse files Browse the repository at this point in the history
  • Loading branch information
Akihiro Saiki committed Nov 27, 2023
1 parent 1c94582 commit 4e89cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e89cd1

Please sign in to comment.