e16 settings.
[profile.git] / .profile.d / variables.bashrc
1 # $Id$
2 export SSHTERM=urxvtc
3 export SSHTERM_TITLE=-title
4 export SSHTERM_EXEC=-e
5 #export TERM=xterm-xfree86
6 export TERM=linux
7 unset LANG
8 export LC_CTYPE=en_GB
9 if ls --help 2>/dev/null | grep gnu.org >/dev/null; then
10   export LS_OPTIONS="--color=auto -F -b --time-style=long-iso"
11 elif [ "$SYSTEM" = "Darwin" ]; then
12   export LS_OPTIONS="-G -F -b"
13 fi
14 export VISUAL=vim
15 eval `dircolors 2>/dev/null` 2>/dev/null
16 unset XMODIFIERS #:-(
17 export SSHTERM="urxvt"
18 export SSHTERM_TITLE="-title"
19 export SSHTERM_EXEC="-e"
20 export GREP_COLOR='0;33'
21 # cx: Lines of context; sl: Matching lines; mt: Search string; fn: Filename
22 # ln: Line number; bn: Byte offset; se: Separators.
23 colours=$(tput colors)
24 if [ $colours = 256 ]; then
25   export GREP_COLORS='cx=38;5;246:sl=:mt=33:fn=38;5;25:ln=38;5;82:bn=33:se=38;5;246'
26 elif [ $colours -gt 88 ]; then
27   export GREP_COLORS='cx=38;5;84:sl=:mt=33:fn=38;5;22:ln=38;5;44:bn=33:se=38;5;84'
28 else
29   export GREP_COLORS='cx=31:sl=:mt=33:fn=36:ln=34:bn=33:se=31'
30 fi
31 export SCREENDIR="$HOME/.screen/$HOSTNAME"
32 #mkdir -p "$SCREENDIR"