From dd8648fcac4fc9c821a30fd2fb1f07099a65fbf4 Mon Sep 17 00:00:00 2001 From: hugues Date: Tue, 12 Sep 2006 03:03:35 +0000 Subject: Super conf qui tue git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@268 a0e5b806-a6f9-0310-978d-cbce73f8a913 --- .zshrc | 4 ++-- host:delphine/50_Hashes.zsh | 1 - host:delphine/Hashes.zsh | 1 + host:paranoid/20_Environment.zsh | 18 ------------------ host:paranoid/70_Aliases.zsh | 16 ---------------- host:paranoid/Aliases.zsh | 16 ++++++++++++++++ host:paranoid/Environment.zsh | 18 ++++++++++++++++++ host:prunelle/20_Environment.zsh | 32 -------------------------------- host:prunelle/70_Aliases.zsh | 13 ------------- host:prunelle/Aliases.zsh | 13 +++++++++++++ host:prunelle/Environment.zsh | 32 ++++++++++++++++++++++++++++++++ net:coframi-velizy.com/Aliases.zsh | 6 ++++++ net:coframi-velizy.com/Environment.zsh | 22 ++++++++++++++++++++++ net:coframi-velizy.com/Hashes.zsh | 5 +++++ net:coframi-velizy.com/KeyBindings.zsh | 5 +++++ 15 files changed, 120 insertions(+), 82 deletions(-) delete mode 100644 host:delphine/50_Hashes.zsh create mode 100644 host:delphine/Hashes.zsh delete mode 100644 host:paranoid/20_Environment.zsh delete mode 100644 host:paranoid/70_Aliases.zsh create mode 100644 host:paranoid/Aliases.zsh create mode 100644 host:paranoid/Environment.zsh delete mode 100644 host:prunelle/20_Environment.zsh delete mode 100644 host:prunelle/70_Aliases.zsh create mode 100644 host:prunelle/Aliases.zsh create mode 100644 host:prunelle/Environment.zsh create mode 100644 net:coframi-velizy.com/Aliases.zsh create mode 100644 net:coframi-velizy.com/Environment.zsh create mode 100644 net:coframi-velizy.com/Hashes.zsh create mode 100644 net:coframi-velizy.com/KeyBindings.zsh diff --git a/.zshrc b/.zshrc index b2639a9..3758f4c 100644 --- a/.zshrc +++ b/.zshrc @@ -30,9 +30,9 @@ if [ -d $ZDOTDIR ]; then [ "$DEBUG" != "" ] && echo "${${script:t:r}/??_/}... "; source $script - for i in "host:`hostname -s`" "user:`whoami`" #"host:`hostname -s`.user:`whoami`" + for i in "host:`hostname -s`" "user:`whoami`" "net:`hostname -d`" do - specific_script=${script:h}/$i/${script:t} + specific_script=${script:h}/$i/${${script:t}/??_/} [ -f $specific_script ] && source $specific_script done done diff --git a/host:delphine/50_Hashes.zsh b/host:delphine/50_Hashes.zsh deleted file mode 100644 index da06ce8..0000000 --- a/host:delphine/50_Hashes.zsh +++ /dev/null @@ -1 +0,0 @@ -hash -d old=/homes/hugues diff --git a/host:delphine/Hashes.zsh b/host:delphine/Hashes.zsh new file mode 100644 index 0000000..da06ce8 --- /dev/null +++ b/host:delphine/Hashes.zsh @@ -0,0 +1 @@ +hash -d old=/homes/hugues diff --git a/host:paranoid/20_Environment.zsh b/host:paranoid/20_Environment.zsh deleted file mode 100644 index 8cc126e..0000000 --- a/host:paranoid/20_Environment.zsh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/zsh -## -## Part of configuration files for Zsh 4 -## by Hugues Hiegel -## -## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS -## -## You are encouraged to use, modify, and redistribute -## these files with or without this notice. -## -#export PRINTER=Gertrude -export PRINTER=Berthe - -export MANPATH=:$MANPATH -export PATH=:$PATH -export INFOPATH=:$INFOPATH - -typeset -gU PATH MANPATH INFOPATH PKG_CONFIG_PATH LD_LIBRARY_PATH diff --git a/host:paranoid/70_Aliases.zsh b/host:paranoid/70_Aliases.zsh deleted file mode 100644 index 986ad6b..0000000 --- a/host:paranoid/70_Aliases.zsh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/zsh -## -## Part of configuration files for Zsh 4 -## by Hugues Hiegel -## -## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS -## -## You are encouraged to use, modify, and redistribute -## these files with or without this notice. -## - -## Paranoid specifics aliases - -a mailstat='\mailstat -o ~/.procmail/procmail.log | egrep -v "## procmail:"' -a mails='\mailstat -k ~/.procmail/procmail.log | egrep -v "## procmail:" ; cat ~/.procmail/procmail.log >> ~/.procmail/procmail.log.old ; echo -n > ~/.procmail/procmail.log' -a junkmail='mutt -f ~/Mail/junk.gz' diff --git a/host:paranoid/Aliases.zsh b/host:paranoid/Aliases.zsh new file mode 100644 index 0000000..986ad6b --- /dev/null +++ b/host:paranoid/Aliases.zsh @@ -0,0 +1,16 @@ +#!/bin/zsh +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## + +## Paranoid specifics aliases + +a mailstat='\mailstat -o ~/.procmail/procmail.log | egrep -v "## procmail:"' +a mails='\mailstat -k ~/.procmail/procmail.log | egrep -v "## procmail:" ; cat ~/.procmail/procmail.log >> ~/.procmail/procmail.log.old ; echo -n > ~/.procmail/procmail.log' +a junkmail='mutt -f ~/Mail/junk.gz' diff --git a/host:paranoid/Environment.zsh b/host:paranoid/Environment.zsh new file mode 100644 index 0000000..8cc126e --- /dev/null +++ b/host:paranoid/Environment.zsh @@ -0,0 +1,18 @@ +#!/bin/zsh +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## +#export PRINTER=Gertrude +export PRINTER=Berthe + +export MANPATH=:$MANPATH +export PATH=:$PATH +export INFOPATH=:$INFOPATH + +typeset -gU PATH MANPATH INFOPATH PKG_CONFIG_PATH LD_LIBRARY_PATH diff --git a/host:prunelle/20_Environment.zsh b/host:prunelle/20_Environment.zsh deleted file mode 100644 index b96764f..0000000 --- a/host:prunelle/20_Environment.zsh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/zsh -## -## Part of configuration files for Zsh 4 -## by Hugues Hiegel -## -## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS -## -## You are encouraged to use, modify, and redistribute -## these files with or without this notice. -## - -if ( [ "`uname -s`" = "Darwin" ] ) -then - export DISPLAY=:0 - - ## Fink / DarwinPorts - - MANPATH=/usr/share/man - INFOPATH=/usr/share/info - - for i in usr/X11R6 dp sw ; do - export PATH=$PATH:/$i/bin:/$i/sbin - export MANPATH=$MANPATH:/$i/share/man - export INFOPATH=$INFOPATH:/$i/share/info - done - - typeset -gU PATH MANPATH INFOPATH -fi - -PS1_USER="1" -PS1_USER_SSH="$PS1_USER" -PS1_ROOT="31;1" diff --git a/host:prunelle/70_Aliases.zsh b/host:prunelle/70_Aliases.zsh deleted file mode 100644 index 900e335..0000000 --- a/host:prunelle/70_Aliases.zsh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/zsh -## -## Part of configuration files for Zsh 4 -## by Hugues Hiegel -## -## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS -## -## You are encouraged to use, modify, and redistribute -## these files with or without this notice. -## -a port='sudo port' -a ls='ls -FG' -a aless='open -a /Applications/DarwinPorts/AquaLess.app' diff --git a/host:prunelle/Aliases.zsh b/host:prunelle/Aliases.zsh new file mode 100644 index 0000000..900e335 --- /dev/null +++ b/host:prunelle/Aliases.zsh @@ -0,0 +1,13 @@ +#!/bin/zsh +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## +a port='sudo port' +a ls='ls -FG' +a aless='open -a /Applications/DarwinPorts/AquaLess.app' diff --git a/host:prunelle/Environment.zsh b/host:prunelle/Environment.zsh new file mode 100644 index 0000000..b96764f --- /dev/null +++ b/host:prunelle/Environment.zsh @@ -0,0 +1,32 @@ +#!/bin/zsh +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## + +if ( [ "`uname -s`" = "Darwin" ] ) +then + export DISPLAY=:0 + + ## Fink / DarwinPorts + + MANPATH=/usr/share/man + INFOPATH=/usr/share/info + + for i in usr/X11R6 dp sw ; do + export PATH=$PATH:/$i/bin:/$i/sbin + export MANPATH=$MANPATH:/$i/share/man + export INFOPATH=$INFOPATH:/$i/share/info + done + + typeset -gU PATH MANPATH INFOPATH +fi + +PS1_USER="1" +PS1_USER_SSH="$PS1_USER" +PS1_ROOT="31;1" diff --git a/net:coframi-velizy.com/Aliases.zsh b/net:coframi-velizy.com/Aliases.zsh new file mode 100644 index 0000000..f7e6048 --- /dev/null +++ b/net:coframi-velizy.com/Aliases.zsh @@ -0,0 +1,6 @@ + +# Marre de se faire avoir avec la reconstruction de la BDD +a cscope='cscope -d' + +# Ptit alias bien pratique, pour afficher rapidos les patches appliqués et ceux qui ne le sont pas +a q='quilt applied ; echo " -- TOP -- " ; quilt unapplied' diff --git a/net:coframi-velizy.com/Environment.zsh b/net:coframi-velizy.com/Environment.zsh new file mode 100644 index 0000000..9569dee --- /dev/null +++ b/net:coframi-velizy.com/Environment.zsh @@ -0,0 +1,22 @@ +#!/bin/zsh +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## + +#export PATH=${PATH:+$PATH:}~/souche_linux_pl/tools/bin:/usr/local/urd2/bin:/usr/local/urd2/openrg2_6/mips-linux-uclibc/bin/ +#export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}~/souche_linux_pl/tools/lib +#export MANPATH=${MANPATH:+$MANPATH:}/usr/local/urd2/man:~/souche_linux_pl/tools/man:~/souche_linux_pl/tools/share/man + +#PATH=$PATH:/opt/openrg/mips-linux-uclibc/bin +#typeset -gU PATH MANPATH + +#__PREFIX=/filer1/dev_users/hiegel/souche_linux_pl/tools/ + +export http_proxy="http://proxy:3128" +export ftp_proxy=$http_proxy diff --git a/net:coframi-velizy.com/Hashes.zsh b/net:coframi-velizy.com/Hashes.zsh new file mode 100644 index 0000000..c869707 --- /dev/null +++ b/net:coframi-velizy.com/Hashes.zsh @@ -0,0 +1,5 @@ + +hash -d dev=/developpement/nes/sagem-box/hhiegel +hash -d public=/public/nes +hash -d tftp=~public/pc-test/tftp/ + diff --git a/net:coframi-velizy.com/KeyBindings.zsh b/net:coframi-velizy.com/KeyBindings.zsh new file mode 100644 index 0000000..0691d95 --- /dev/null +++ b/net:coframi-velizy.com/KeyBindings.zsh @@ -0,0 +1,5 @@ + +# Lance l'alias ``q'' (voir le fichier d'aliases) pour +# afficher rapidement la pile des patches, avec une marque +# au niveau du dernier patch appliqué. + -- cgit v1.2.3