dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit ec11420e88f66b311e0d3212dbdc7b0642ae628f
parent fe4f1e04dfb2e4cdfc6d9db24dfd80aee6f7722b
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 12 Aug 2018 05:25:57 +0000

.zshrc: Add cruft to set term title.

Diffstat:
.zshrc | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.zshrc b/.zshrc @@ -12,6 +12,13 @@ if [ -n "$GUIX_ENVIRONMENT" ]; then export SSL_CERT_DIR=$GUIX_ENVIRONMENT'/etc/ssl/certs' fi +# Set title. +case $TERM in + rxvt*) + precmd () {print -Pn "\e]0;term %n@%m:%~\a"} + ;; +esac + setopt histignorealldups sharehistory autocd # Use emacs keybindings even if our EDITOR is set to vi