if [[ $KONSOLE_PROFILE_NAME ]]; then
TERM=xterm-256color
- fi
+ fi
# todo: not sure this works in sakura
#stty werase undef
}
- o() {
- if type gvfs-open &> /dev/null ; then
- gvfs-open "$@"
- else
- xdg-open "$@"
- fi
- # another alternative is run-mailcap
- }
+o() {
+ if type gvfs-open &> /dev/null ; then
+ gvfs-open "$@"
+ else
+ xdg-open "$@"
+ fi
+ # another alternative is run-mailcap
+}
ipdrop() {
s iptables -A INPUT -s $1 -j DROP
_dosieve ~/sieve/maintest.sieve ${1:-INBOX} delete
}
runsieve() {
- c ~/sieve; cp personal{test,}.sieve; cp lists{test,}.sieve
+ c ~/sieve; cp personal{test,}.sieve; cp lists{test,}.sieve; cp personalend{test,}.sieve
_dosieve ~/sieve/main.sieve -eW ${1:-INBOX} delete
}
if [[ -e /nocow/btrfs-stale ]] && ((`command ls -AUq /nocow/btrfs-stale|wc -l`)); then
ps_char="! $ps_char"
fi
- if [[ -e /nocow/mailtest-failure ]]; then
- ps_char="@#$@#$ $ps_char"
+ if test -e /m/md/bounces/new/*; then
+ ps_char='!BOUNCE! '"$ps_char"
+ fi
+ if [[ -e /nocow/user/mailtest-failure ]]; then
+ ps_char='!MAILPING! '"$ps_char"
fi
source /a/bin/bash_unpublished/source-state
if [[ ! $SSH_CLIENT && $MAIL_HOST != $HOSTNAME ]]; then