public
Description: zsh configuration
Homepage:
Clone URL: git://github.com/redondos/zsh.git
zsh / .envrc
100644 89 lines (70 sloc) 2.385 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/sh
 
##-------------------------------------------------------------------
##
## Environment set-up
##
## common environment for all shells
##
##-------------------------------------------------------------------
 
export PATH=/usr/local/bin:"$PATH":/sbin:/usr/sbin
## Include private ~/bin
if [ -d ~/bin ] ; then
export PATH=~/bin:"$PATH"
fi
 
#export DCOPSERVER=.DCOPserver_refinery__0
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LESS="-irFRSX"
export LYNX_CFG=~/.lynx.cfg
export MENUCONFIG_COLOR=bluetitle # Themes: mono, blackbg, bluetitle, classic
#export PAGER=most
export PALUDIS_OPTIONS="--debug-build split --safe-resume --show-reasons summary --dl-reinstall-scm weekly --dl-upgrade as-needed"
export PKG_CONFIG_PATH=/usr/local/lib:$PKG_CONFIG_PATH
if [ -z "$HOSTNAME" ]; then
HOSTNAME=$(hostname)
fi
 
##---------------------------
## Shell options
##---------------------------
 
MAILCHECK=15
MAILPATH='/var/mail/redondos:~/.maildir/new/?You have new mail.'
 
##---------------------------
## Dirs
##---------------------------
 
export IRC=~/.irssi/logs
 
##---------------------------
## git
##---------------------------
 
export EMAIL="redondos@gmail.com"
export GIT_AUTHOR_EMAIL="redondos@gmail.com"
export GIT_AUTHOR_NAME="Angel Olivera"
export GIT_COMMITER_EMAIL="redondos@gmail.com"
export GIT_COMMITER_NAME="Angel Olivera"
export GIT_DIFF_PAGER="colordiff | less -RS"
 
 
##---------------------------
## Language
##---------------------------
 
# export LC_ALL=en_US.UTF-8
# export LANG=en_US.UTF-8
 
##---------------------------
## Other
##---------------------------
 
export BROWSER="opera"
export OPERAPLUGINWRAPPER_PRIORITY=1
export EDITOR=vim
export NNTPSERVER=news.gmane.org
export BC_ENV_ARGS="-q -l $HOME/.bc/extensions.bc"
which colorgcc &>/dev/null && export CC="colorgcc"
 
## Less colors, http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html
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'
 
export SMAPI=/sys/devices/platform/smapi
urxvt-font() { echo -e "new font: $1"'\033]50;'"$1"'\007'; }
 
man-vim() {
MANWIDTH=$COLUMNS man "$@" | /usr/share/vim/vim71/macros/less.sh -u \
NONE -U NONE -c "set ft=man mouse=a" -
}