summaryrefslogtreecommitdiff
path: root/user:hugues
diff options
context:
space:
mode:
Diffstat (limited to 'user:hugues')
-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 '/()[]{}'
+
+