From 4a26127abec86e67de3c729dcb424cfa4b6a64f8 Mon Sep 17 00:00:00 2001 From: PHO Date: Mon, 5 Jan 2009 13:16:11 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_zshenv | 1 + dot-files/_zshrc | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/dot-files/_zshenv b/dot-files/_zshenv index 15c61d7..6f174bb 100644 --- a/dot-files/_zshenv +++ b/dot-files/_zshenv @@ -65,6 +65,7 @@ export PAGER="less" export LV="-Ia -c" export LESS="--quit-if-one-screen -R" export GTK_IM_MODULE=uim +export PERL_BADLANG=0 # darcs export DARCS_EMAIL="pho@cielonegro.org" diff --git a/dot-files/_zshrc b/dot-files/_zshrc index 6d8cf63..dd762ec 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -49,6 +49,10 @@ setopt hist_ignore_space setopt inc_append_history setopt share_history +function _we_are_in_gnu_screen () { + [ "$WINDOW" != "" ] +} + PROMPT=$'%{\ek\e\\%}%B[%n@%m] %#%b ' RPROMPT='%U%?%u %U%D{%m/%d}%u %U%D{%T}%u %U%~%u' HISTFILE="$HOME/.zhistory" -- 2.40.0