blob: 6d3107b4c255196aeeaeebd3783000588232304c (
plain) (
blame)
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
|
if [ x"$HOME" = x ] ; then
export HOME=$(cd ~ ; pwd)
fi
if [ x"$HOSTNAME" = x ] ; then
export HOSTNAME=$(/bin/hostname)
fi
path=(~/bin $path)
fpath=($HOME/.zsh/zsh-completions/src $fpath)
# To force rebuild zcompdump:
# rm -f ~/.zcompdump; compinit
export SHELL=/bin/zsh
export MANWIDTH=80
export EDITOR=vim
export VISUAL=vim
export LESS=FRSX
if [ -f "$HOME/.lessfilter.sh" ] ; then
export LESSOPEN="| $HOME/.lessfilter.sh %s"
elif [ -f "/usr/share/source-highlight/src-hilite-lesspipe.sh" ] ; then
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"
elif [ -f "/usr/bin/src-hilite-lesspipe.sh" ] ; then
export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
fi
# 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'
export FZF_DEFAULT_OPTS="--color=light"
# vim: et ft=zsh :
|