summaryrefslogtreecommitdiff
path: root/user:hugues/Environment.zsh
blob: 3b7750baccf1baffcf58623f1c7110633b7c0640 (plain)
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
#!/bin/zsh
##
## Part of configuration files for Zsh4
## AUTHOR: Hugues Hiegel <hugues@hiegel.fr>
## 
## You are encouraged to use, modify, and redistribute
## these files with or without this notice.
## 
## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS
##

## Options pour ``bc''
# pour ne plus avoir
# le message d'invite
# au démarrage
export BC_ENV_ARGS="-q"

## Editeur par défaut
export EDITOR=`which vim || which vi || which emacs`
export VISUAL=$EDITOR
export FCEDIT=$EDITOR

## Pageur par défaut
export PAGER=less

## Quelle commande utiliser par défaut ?
export NULLCMD=cat

# Locale en français unicode
export LC_ALL=${LC_ALL:-fr_FR.UTF-8}
export LC_MESSAGES=${LC_MESSAGES:-fr_FR}
unset LANG # Unuseful

# Couleurs pour grep --color=auto
export GREP_COLOR=$YELLOW\;$BOLD

cmd_exists dircolors && eval $(dircolors ~/.dir_colors)
export TZ="Europe/Paris"
export TIME_STYLE="+%Y-%b-%d %H:%M:%S"

export LS_OPTIONS="-F --color=always -I CVS"

##  Trucs à la con spécifiques à Zsh
LOGCHECK=10                             # %n has logged on/off ..
REPORTTIME=1                            # ``time'' automatique
TIMEFMT='`%J` -- %P cpu
   User	%U
 System	%S
  Total	%E'

WATCHFMT=$COLOR_BLUECLAIR"%n"$COLOR_END
WATCHFMT=$WATCHFMT" has "$COLOR_YELLOW"%a %l from %M"
WATCH=notme

WORDCHARS='*?-_~!#$%^.' ## Caractères faisant partie des mots
                        ## J'ai viré les  '/()[]{}'