From a7ab0284ca57ccdc723afb3739380f48be60338c Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 22 May 2008 17:05:37 +0200 Subject: Sweethome ! --- net:sweethome/Aliases.zsh | 17 +++++++++++++++ net:sweethome/Environment.zsh | 13 ++++++++++++ net:sweethome/Hashes.zsh | 3 +++ net:sweethome/host:delphine/Hashes.zsh | 1 + net:sweethome/host:prunelle/Aliases.zsh | 13 ++++++++++++ net:sweethome/host:prunelle/Environment.zsh | 32 +++++++++++++++++++++++++++++ net:sweethome/host:prunelle/README | 2 ++ 7 files changed, 81 insertions(+) create mode 100644 net:sweethome/Aliases.zsh create mode 100644 net:sweethome/Environment.zsh create mode 100644 net:sweethome/Hashes.zsh create mode 100644 net:sweethome/host:delphine/Hashes.zsh create mode 100644 net:sweethome/host:prunelle/Aliases.zsh create mode 100644 net:sweethome/host:prunelle/Environment.zsh create mode 100644 net:sweethome/host:prunelle/README (limited to 'net:sweethome') diff --git a/net:sweethome/Aliases.zsh b/net:sweethome/Aliases.zsh new file mode 100644 index 0000000..b82b99c --- /dev/null +++ b/net:sweethome/Aliases.zsh @@ -0,0 +1,17 @@ +#!/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 + +#cmd_exists mailstat && a maillogs='mailstat -mo ~/.procmail/procmail.log | cut -c8- | sed "s:^[0-9]*::"' +#cmd_exists mailstat && a mailstats='echo ; echo "\tToday" ; awk < ~/.procmail/procmail.log{,.old} "BEGIN {RS=\"From\"} /`LC_ALL=C date "+%a %b %d ..:..:.. %Y"`/ { print \"From \"\$0 }" | grep -v "^$" | mailstat | cut -c8- | sed "s:^[0-9]*::"' +#cmd_exists mailstat && a mails='mailstat -km ~/.procmail/procmail.log | sed "s/^No mail.*/ No mail/" | cut -c8- | sed "s:^[0-9]*::" | egrep -v "## .*:" ; cat ~/.procmail/procmail.log >> ~/.procmail/procmail.log.old ; :> ~/.procmail/procmail.log' +cmd_exists mutt && a junkmail='[ -f ~/Mail/junk.gz ] && mutt -f ~/Mail/junk.gz' diff --git a/net:sweethome/Environment.zsh b/net:sweethome/Environment.zsh new file mode 100644 index 0000000..ed3734a --- /dev/null +++ b/net:sweethome/Environment.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. +## +#export PRINTER=Gertrude +export PRINTER=Gertrude +export NNTPSERVER=news.free.fr diff --git a/net:sweethome/Hashes.zsh b/net:sweethome/Hashes.zsh new file mode 100644 index 0000000..415e0c6 --- /dev/null +++ b/net:sweethome/Hashes.zsh @@ -0,0 +1,3 @@ + +hash -d foutoir=/goinfre/Foutoir + diff --git a/net:sweethome/host:delphine/Hashes.zsh b/net:sweethome/host:delphine/Hashes.zsh new file mode 100644 index 0000000..da06ce8 --- /dev/null +++ b/net:sweethome/host:delphine/Hashes.zsh @@ -0,0 +1 @@ +hash -d old=/homes/hugues diff --git a/net:sweethome/host:prunelle/Aliases.zsh b/net:sweethome/host:prunelle/Aliases.zsh new file mode 100644 index 0000000..03b6b3f --- /dev/null +++ b/net:sweethome/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/net:sweethome/host:prunelle/Environment.zsh b/net:sweethome/host:prunelle/Environment.zsh new file mode 100644 index 0000000..219e88e --- /dev/null +++ b/net:sweethome/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:sweethome/host:prunelle/README b/net:sweethome/host:prunelle/README new file mode 100644 index 0000000..33e3fd8 --- /dev/null +++ b/net:sweethome/host:prunelle/README @@ -0,0 +1,2 @@ +C'est l'iBook d'Hugues :) +Sous Darwin, soit dit en passant... -- cgit v1.2.3