'(cleite:auto-refresh-interval nil)
'(cleite:measure-srpc-call-time t)
'(cperl-merge-trailing-else nil)
- '(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines . 1) (width . 80) (height . 25) (right-fringe) (left-fringe) (font . -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso10646-1))))
+ '(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines . 1) (width . 80) (height . 25) (right-fringe) (left-fringe))))
'(ecb-add-path-for-not-matching-files (quote (t)))
'(ecb-help-info-path "/sw/share/info/ecb.info")
'(ecb-layout-name "left14")
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"
setopt inc_append_history
setopt share_history
-PROMPT=$'%{\ek\e\\%}%{%(?.$fg[green].$fg[red])%}%B[%n@%m] %#%b %{$reset_color%}'
+function _we_are_in_gnu_screen () {
+ [ "$WINDOW" != "" ]
+}
+
+_prompt_base='%{%(?.$fg[green].$fg[red])%}%B[%n@%m] %#%b %{$reset_color%}'
+if ( _we_are_in_gnu_screen ); then
+ PROMPT=$'%{\ek\e\\%}'$_prompt_base
+else
+ PROMPT=$_prompt_base
+fi
+
RPROMPT='%U%D{%m/%d}%u %U%D{%T}%u %U%~%u'
HISTFILE="$HOME/.zhistory"