From da709cd9e90c3ab644bb92700f0ed40d965b80d3 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 13 Oct 2011 11:17:19 +0600 Subject: Initial commit. --- files/.zsh/rc/S20_environment | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 files/.zsh/rc/S20_environment (limited to 'files/.zsh/rc/S20_environment') diff --git a/files/.zsh/rc/S20_environment b/files/.zsh/rc/S20_environment new file mode 100755 index 0000000..c7268fe --- /dev/null +++ b/files/.zsh/rc/S20_environment @@ -0,0 +1,25 @@ +if [ x"$HOME" = x ] ; then + export HOME=$(cd ~ ; pwd) +fi +if [ x"$HOSTNAME" = x ] ; then + export HOSTNAME=$(/usr/bin/hostname) +fi + +export SHELL=/bin/zsh + +export MANWIDTH=80 +export EDITOR=vim +export VISUAL=vim +export LESS=FRSX + +# this make man pages look nicer +export LESS_TERMCAP_mb=$'\E[01;31m' +export LESS_TERMCAP_md=$'\E[01;31m' +export LESS_TERMCAP_me=$'\E[0m' +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_so=$'\E[01;44;33m' +export LESS_TERMCAP_ue=$'\E[0m' +export LESS_TERMCAP_us=$'\E[01;32m' + + +# vim: et ft=zsh : -- cgit v1.2.3