X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=brc;h=df4b90811132aeb5240b18ce2573b13c850c51b2;hp=e1aa677c23ab4c4fe32a64ae7dd30c659d864e7d;hb=648257b1698602fdeeb7eb5ba496106547f93665;hpb=d454ba0f3f94d45af71e5a1e72a1bbcb63211645 diff --git a/brc b/brc index e1aa677..df4b908 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 test -e /Maildir/new/*; then + ps_char='!BOUNCE! '"$ps_char" + fi if [[ -e /nocow/mailtest-failure ]]; then - ps_char="@#$@#$ $ps_char" + ps_char='@#$@#$ '"$ps_char" fi source /a/bin/bash_unpublished/source-state if [[ ! $SSH_CLIENT && $MAIL_HOST != $HOSTNAME ]]; then