From d39e2cf7c98433eca24fc69f122b74ca60db99cb Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 10 Jul 2015 00:01:06 +0200 Subject: [PATCH] added linux terminfo settings to .zshrc --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index 6cadace1..b6df6fec 100644 --- a/.zshrc +++ b/.zshrc @@ -188,6 +188,10 @@ alias xterm=$TERMINAL # I use xterm and this sets a nice title with hostname and cwd in it. case $TERM in + linux) + export TERM=linux-16color + precmd () {print -Pn "\e]0;%n@%m: %~\a"} + ;; xterm*) export TERM=xterm-256color precmd () {print -Pn "\e]0;%n@%m: %~\a"}