diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-05-24 12:02:06 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-05-24 12:02:06 +0200 |
commit | 6d127fd3274dcd551e175a9c0440f80aebcb2fc2 (patch) | |
tree | 407e5d13acc9c5977a204c621625f48a5a6dc384 /net:sweethome/Aliases.zsh | |
parent | e2f9a952558aea3a37296f45dc911f109342748a (diff) | |
parent | bb76357c72d67b5eab803fccce27617d178f7ed3 (diff) |
Merge branch 'master' of ssh://ssh.hiegel.fr/work/repos/zdotdir
Conflicts:
host:prunelle/Aliases.zsh
host:prunelle/Environment.zsh
host:prunelle/README
net:ordener.fr
net:ordener.fr/host:prunelle/Aliases.zsh
net:ordener.fr/host:prunelle/Environment.zsh
net:ordener.fr/host:prunelle/README
net:sweethome/host:prunelle/Aliases.zsh
net:sweethome/host:prunelle/Environment.zsh
net:sweethome/host:prunelle/README
user:hugues/KeyBindings.zsh
Diffstat (limited to 'net:sweethome/Aliases.zsh')
-rw-r--r-- | net:sweethome/Aliases.zsh | 17 |
1 files changed, 17 insertions, 0 deletions
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 <hugues@hiegel.fr> +## +## 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' |