precmd
This commit is contained in:
parent
b9c2a03ec8
commit
0b9bff4d08
7
base/precmd.zsh
Normal file
7
base/precmd.zsh
Normal 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"
|
@ -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%}"
|
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
|
ticker_finish
|
||||||
|
Loading…
Reference in New Issue
Block a user