aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_environment
diff options
context:
space:
mode:
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 :