diff --git a/zsh.d/10-environment.zsh b/zsh.d/10-environment.zsh index 122cc2c..8b13789 100644 --- a/zsh.d/10-environment.zsh +++ b/zsh.d/10-environment.zsh @@ -1,33 +1 @@ -####################################################################################### -# Variables -## Vars used always -PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/bin:." -# LANG="it_IT.UTF-8" -# TZ='Europe/Rome' -MIBS=all -LOGD=/var/log - -## If we are not interactive quit -[ -z "$PS1" ] && return - -## Vars only for interactive sessions -SAVEHIST=500 -HISTFILE=~/.history -HISTSIZE=10000 - -PYTHONSTARTUP=~/.pythonrc.py -LOGCHECK=30 -REPORTTIME=15 -WATCH=notme -WATCHFMT="%n %a %l (%m) at %t." - -EDITOR=vim -VISUAL=vim -# -# Hack for svn -export SVN_EDITOR=${VISUAL} - -# Set umask to collaborative mode -umask 002 -# vim: set ts=4 sw=4 tw=0 ft=zsh : diff --git a/zsh.d/prompts/prompt_server_setup b/zsh.d/prompts/prompt_server_setup index d27a97c..b055f0a 100644 --- a/zsh.d/prompts/prompt_server_setup +++ b/zsh.d/prompts/prompt_server_setup @@ -4,7 +4,7 @@ if `fancyTerm`; then # We are on xterminal W="%n@%m:%." I="%m:%." - L="%B@%m %~ %#%b " + L="%B@%m %4(~:...:)%3~ %#%b " PS1="%{]2;$W%}%{]1;$I%}$L" unset W I L