# HG changeset patch # User Jeff Hammel # Date 1384802663 28800 # Node ID 6b2c56da7c9d4ab21d6d9801572ec5f91f50cca2 # Parent 2b0d254d4271eeff1717563c36f68814ed8fdfdb .bashrc diff -r 2b0d254d4271 -r 6b2c56da7c9d .bashrc --- a/.bashrc Wed Nov 13 20:41:56 2013 -0800 +++ b/.bashrc Mon Nov 18 11:24:23 2013 -0800 @@ -66,6 +66,12 @@ alias mozharness-bug="bz new --product 'Release Engineering' 'General Automation' --cc ':aki' --whiteboard 'mozharness'" alias talos-bug="bz new Talos --cc ':jmaher'" +# notification: from +# http://www.netinfinity.org/2013/02/4/bits-and-pieces-ubuntu-terminal-notification.html +alias alert_helper='history|tail -n1|sed -e "s/^\s*[0-9]\+\s*//" -e "s/;\s*alert$//"' +alias alert='notify-send -i /usr/share/icons/gnome/32x32/apps/gnome-terminal.png "[$?] $(alert_helper)"' + + # PROMPT PS1='│' PS2='.'