feat(zsh): set window title to current directory name
parent
6bf4bbfc36
commit
34c54c5bf4
|
@ -9,6 +9,14 @@ in
|
|||
enableCompletion = true;
|
||||
history.size = 10000;
|
||||
|
||||
initExtra = ''
|
||||
function set_win_title(){
|
||||
echo -ne "\033]0; $(basename "$PWD") \007"
|
||||
}
|
||||
|
||||
precmd_functions+=(set_win_title)
|
||||
'';
|
||||
|
||||
sessionVariables = {
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = zsh_autosuggest_highlight_style;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue