summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zsh/zprofile17
1 files changed, 9 insertions, 8 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index 44bfb66..935ed80 100644
--- a/zsh/zprofile
+++ b/zsh/zprofile
@@ -16,8 +16,8 @@ unset ROOTPATH
# ZSH doesn't yet have a good UTF8 support
# See http://zsh.sunsite.dk/FAQ/zshfaq02.html#l16
-export LANG=fr_FR@euro
-export LC_ALL=fr_FR@euro
+export LANG=fr_FR.utf8
+export LC_ALL=fr_FR.utf8
if [[ -n "$(eval dnsdomainname 2> /dev/null)" ]]; then
DOMAINNAME=`dnsdomainname`
@@ -53,6 +53,7 @@ alias lha="ls ${use_color/true/--color=auto} -lha"
alias ltr="ls ${use_color/true/--color=auto} -ltr"
alias cg-update="cg-update -v"
alias cg-fetch="cg-fetch -v"
+alias grep="grep --color=auto"
# List only file beginning with "."
alias lsa="ls -ld .*"
@@ -115,14 +116,14 @@ case $USER in
{
EBUILDS=`ls *.ebuild`
[ -z "$EBUILDS" ] && return 0
- [ -d files ] && [ -e files/digest* ] && rm files/digest*
+ find . -name digest\* -exec rm {} \;
for i in *.ebuild
do
ebuild $i digest
done
}
- alias emdebug="FEATURES=\"nostrip\" CFLAGS=\"-g\" emerge"
+ alias emdebug="FEATURES='nostrip' CFLAGS='-g' emerge"
;;
beber|jacqui_b)
unalias mv
@@ -344,7 +345,7 @@ bindkey "^[[2~" beep # Ins (Rien)
# Exports
export EDITOR=$(which vim)
-export VISUAL=$(which vim)
+export VISUAL="view -"
[[ "$OS" = "Windows_NT" ]] && [[ -n "`which svn`" ]] && export SVN_EDITOR=$EDITOR
[ "x${LC_ALL/fr_FR./}" = "xUTF-8" ] && export LESSCHARSET=utf-8 || unset LESSCHARSET
@@ -354,8 +355,8 @@ export VISUAL=$(which vim)
if [ "$DOMAINNAME" = "epita.fr" ]; then
export MAILCHECK=400
else
- export MAIL=~/Maildir
- export MAILCHECK=60
+# export MAIL=~/Maildir
+# export MAILCHECK=60
fi
# Afficher les nouvelles connections
@@ -389,7 +390,7 @@ esac
setopt extendedglob dotglob
# Export du display
-[ -z "$DISPLAY" ] && [ -n "$SSH_CLIENT" ] && export DISPLAY="`echo $SSH_CLIENT | cut -d ' ' -f 1`:0.0"
+#[ -z "$DISPLAY" ] && [ -n "$SSH_CLIENT" ] && export DISPLAY="`echo $SSH_CLIENT | cut -d ' ' -f 1`:0.0"
if [ -n "$DISPLAY" ]; then
if [[ "$DISPLAY" = ":0.0" ]] || [[ "$DISPLAY" = "127.0.0.1:0.0" ]]; then