fix window title auto change
This commit is contained in:
parent
171bc19e82
commit
77b5d2b87a
1 changed files with 3 additions and 1 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue