1
0
Fork 0

fix window title auto change

This commit is contained in:
Maurice Audin 2023-12-14 10:02:01 +01:00
parent 171bc19e82
commit 77b5d2b87a

View file

@ -3,9 +3,10 @@ zstyle :omz:plugins:keychain agents gpg,ssh
zstyle :omz:plugins:keychain identities id_rsa id_ed25519 D79CA887 zstyle :omz:plugins:keychain identities id_rsa id_ed25519 D79CA887
zstyle :omz:plugins:keychain options --quiet zstyle :omz:plugins:keychain options --quiet
# bip at command end, resize font # bip at command end, ensure correct window title
function precmd() { function precmd() {
echo -n -e "\a" echo -n -e "\a"
echo -en "\033]0;${USER}@$(hostname)\007"
} }
# history file # history file
@ -37,6 +38,7 @@ bindkey "^[Od" backward-word
bindkey "^[Oc" forward-word bindkey "^[Oc" forward-word
# Some exports # Some exports
export DISABLE_AUTO_TITLE=true
export EDITOR=emacsclient export EDITOR=emacsclient
export LESS=-cex2MRX export LESS=-cex2MRX
export LESSOPEN='|~/.lessfilter %s' export LESSOPEN='|~/.lessfilter %s'