summaryrefslogtreecommitdiff
path: root/user:hugues/Environment.zsh
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2007-05-21 08:43:26 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:12 +0100
commit56e31ca81beb2337aac8cf1e83528ed9ef5cf431 (patch)
treebec1123bc06f9ca5885942b8ca380834572a203e /user:hugues/Environment.zsh
parentdeebeb13d889cbc35d846552552c0f443952ec64 (diff)
Un petit oubli... :)
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@389 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to 'user:hugues/Environment.zsh')
-rw-r--r--user:hugues/Environment.zsh53
1 files changed, 53 insertions, 0 deletions
diff --git a/user:hugues/Environment.zsh b/user:hugues/Environment.zsh
new file mode 100644
index 0000000..ab05a23
--- /dev/null
+++ b/user:hugues/Environment.zsh
@@ -0,0 +1,53 @@
+#!/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
+
+cmd_exists dircolors && eval $(dircolors ~/.dir_colors)
+export TZ="Europe/Paris"
+export TIME_STYLE="+%Y-%b-%d %H:%M:%S"
+
+## 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 '/()[]{}'
+
+