X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=brc;h=ee6ca1995c27321775cbd88f2a4144b45a926875;hb=2fab67243e4b580b90b936acd87c4058dbf7e6e9;hp=e1aa677c23ab4c4fe32a64ae7dd30c659d864e7d;hpb=28904b44d0dd6ce9d43ab720b5efe9af2ce336de;p=distro-setup diff --git a/brc b/brc index e1aa677..ee6ca19 100644 --- a/brc +++ b/brc @@ -122,7 +122,7 @@ if [[ $- == *i* ]]; then if [[ $KONSOLE_PROFILE_NAME ]]; then TERM=xterm-256color - fi + fi # todo: not sure this works in sakura #stty werase undef @@ -1118,14 +1118,14 @@ ifn() { } - 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 @@ -2192,8 +2192,11 @@ if [[ $- == *i* ]]; then 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