summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--10_Environment.zsh12
-rw-r--r--11_Colors.zsh8
-rw-r--r--host:delphine/user:hugues/KeyBindings.zsh1
-rw-r--r--host:paranoid/user:hugues/KeyBindings.zsh1
-rw-r--r--host:prunelle/Prompts.zsh4
-rw-r--r--net:eurodec/Environment.zsh13
-rw-r--r--net:eurodec/Hashes.zsh0
l---------net:hiegel.fr2
l---------user:g1782411
-rw-r--r--user:hugues/Environment.zsh3
10 files changed, 32 insertions, 13 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh
index 52d72f5..4d7adfe 100644
--- a/10_Environment.zsh
+++ b/10_Environment.zsh
@@ -16,6 +16,8 @@
## on l'exporte. SInon pas.
##
+export SHELL=`which zsh`
+
## Agent de clefs SSH/GPG
if [ "$SUDO_USER" = "" ]
then
@@ -27,6 +29,10 @@ fi
## Colors
autoload colors && colors
+c_='['$color[none]";"
+_c=m
+C_="%{$c_"
+_C="$_c%}"
## Variables d'environnement ``classiques''
#
@@ -36,10 +42,10 @@ autoload colors && colors
#
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:~/libs
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R6/lib/pkgconfig
-export PATH=$PATH:~/sbin:~/bin
+export PATH=$PATH:~/sbin:~/local/bin
privileged_user && PATH=/sbin:/usr/sbin:$PATH
-export MANPATH=$MANPATH:~/man
-export INFOPATH=$INFOPATH:~/info
+export MANPATH=$MANPATH:~/man:~/local/share/man
+export INFOPATH=$INFOPATH:~/info:~/local/share/info
[ "$DEBUG" = "yes" ] && export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}~/libs
[ "$DEBUG" = "yes" ] && export PKG_CONFIG_PATH=${PKG_CONFIG_PATH:+$PKG_CONFIG_PATH:}~/pkgconfig
diff --git a/11_Colors.zsh b/11_Colors.zsh
index 28bd0ec..73f94e2 100644
--- a/11_Colors.zsh
+++ b/11_Colors.zsh
@@ -7,12 +7,6 @@
## You are encouraged to use, modify, and redistribute
## these files with or without this notice.
##
-
-c_='['$color[none]";"
-_c=m
-C_="%{$c_"
-_C="$_c%}"
-
typeset -A prompt_colors git_colors mail_colors correct_colors
# I hate kik00l0l colorized prompts, so I'm using a way to
@@ -57,7 +51,7 @@ set_prompt_colors ()
#prompt_colors[hist]="$color[none]" # history number
prompt_colors[arob]="$color[bold];$my_generic" # <login>@<hostname>
prompt_colors[dies]="$my_generic" # the bottom-end of the prompt
- prompt_colors[doubledot]="$color[none];" # separates pwd from git-branch
+ prompt_colors[doubledot]="$color[none]" # separates pwd from git-branch
#prompt_colors[paren]="$color[cyan]" # parenthesis (around tty)
prompt_colors[bar]="$my_generic;$color[bold]" # horizontal bar
prompt_colors[braces]="$prompt_colors[bar]" # braces (around date)
diff --git a/host:delphine/user:hugues/KeyBindings.zsh b/host:delphine/user:hugues/KeyBindings.zsh
new file mode 100644
index 0000000..64f746e
--- /dev/null
+++ b/host:delphine/user:hugues/KeyBindings.zsh
@@ -0,0 +1 @@
+bindkey -s 'm' 'Q mails\n'
diff --git a/host:paranoid/user:hugues/KeyBindings.zsh b/host:paranoid/user:hugues/KeyBindings.zsh
new file mode 100644
index 0000000..64f746e
--- /dev/null
+++ b/host:paranoid/user:hugues/KeyBindings.zsh
@@ -0,0 +1 @@
+bindkey -s 'm' 'Q mails\n'
diff --git a/host:prunelle/Prompts.zsh b/host:prunelle/Prompts.zsh
new file mode 100644
index 0000000..4edc03c
--- /dev/null
+++ b/host:prunelle/Prompts.zsh
@@ -0,0 +1,4 @@
+chpwd()
+{
+ term_title
+}
diff --git a/net:eurodec/Environment.zsh b/net:eurodec/Environment.zsh
new file mode 100644
index 0000000..17003eb
--- /dev/null
+++ b/net:eurodec/Environment.zsh
@@ -0,0 +1,13 @@
+export m_SVIM=/users/picard/local/share/vim/syntax
+export m_VIM_USER_NAME="H. Hiegel"
+
+export LOGCHECK=0 # Don't want to get fucked up by this trick...
+
+hash -d data=/data/$USER
+hash -d workset=~data/workset
+hash -d targets=/targets/$USER
+
+export TARGET_PATH=~targets/target
+export KERNEL_PATH=~data/forge/kernel
+source ~/.env
+eval $(~data/sagem-script44/set-env.pl 2>&-)
diff --git a/net:eurodec/Hashes.zsh b/net:eurodec/Hashes.zsh
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/net:eurodec/Hashes.zsh
diff --git a/net:hiegel.fr b/net:hiegel.fr
index 725ab49..dae2782 120000
--- a/net:hiegel.fr
+++ b/net:hiegel.fr
@@ -1 +1 @@
-net:ordener.fr \ No newline at end of file
+net:sweethome \ No newline at end of file
diff --git a/user:g178241 b/user:g178241
new file mode 120000
index 0000000..5adfc80
--- /dev/null
+++ b/user:g178241
@@ -0,0 +1 @@
+user:hugues \ No newline at end of file
diff --git a/user:hugues/Environment.zsh b/user:hugues/Environment.zsh
index 8e9c596..7b99de4 100644
--- a/user:hugues/Environment.zsh
+++ b/user:hugues/Environment.zsh
@@ -49,8 +49,7 @@ TIMEFMT='`%J` -- %P cpu
System %S
Total %E'
-WATCHFMT=$COLOR_BLUECLAIR"%n"$COLOR_END
-WATCHFMT=$WATCHFMT" has "$COLOR_YELLOW"%a %l from %M"
+WATCHFMT=$c_$color[bold]$_c"%n"$c_$color[none]$_c" has "$c_$color[bold]$_c"%a"$c_$color[none]$_c" %l from %M"
WATCH=notme
WORDCHARS='*?-_~!#$%^' ## Caractères faisant partie des mots