This commit is contained in:
Nicole O'Connor 2020-04-21 16:35:43 -07:00
parent b9c2a03ec8
commit 0b9bff4d08
2 changed files with 9 additions and 0 deletions

7
base/precmd.zsh Normal file
View File

@ -0,0 +1,7 @@
typeset -ag precmd_functions
function precmd_tab_directory () {
print -Pn "\e]0;%n@%m: %~\a"
}
precmd_functions+="precmd_tab_directory"

View File

@ -4,4 +4,6 @@ ticker_message "zeesh: bootstrap"
PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bold[white]%}%~ %# %{$reset_color%}"
source ~/.local/share/zeesh/base/precmd.zsh
ticker_finish