aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_environment
diff options
context:
space:
mode:
authorAnton Bobov <bobov_a@sibsac.ru>2011-10-13 11:17:19 +0600
committerAnton Bobov <bobov_a@sibsac.ru>2011-10-13 11:17:19 +0600
commitda709cd9e90c3ab644bb92700f0ed40d965b80d3 (patch)
tree144e5470327f72b8489141cd7595b652c6c32616 /files/.zsh/rc/S20_environment
Initial commit.
Diffstat (limited to 'files/.zsh/rc/S20_environment')
-rwxr-xr-xfiles/.zsh/rc/S20_environment25
1 files changed, 25 insertions, 0 deletions
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 :