comparison .bashrc @ 548:6b2c56da7c9d

.bashrc
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 18 Nov 2013 11:24:23 -0800
parents b7b4767d12de
children f98fe4362c84
comparison
equal deleted inserted replaced
547:2b0d254d4271 548:6b2c56da7c9d
63 # bzconsole aliases for filing bugs 63 # bzconsole aliases for filing bugs
64 alias mozbase-bug="bz new Mozbase --cc ':wlach'" 64 alias mozbase-bug="bz new Mozbase --cc ':wlach'"
65 alias mozbuild-bug="bz new --product Core 'Build Config' --cc ':gps'" 65 alias mozbuild-bug="bz new --product Core 'Build Config' --cc ':gps'"
66 alias mozharness-bug="bz new --product 'Release Engineering' 'General Automation' --cc ':aki' --whiteboard 'mozharness'" 66 alias mozharness-bug="bz new --product 'Release Engineering' 'General Automation' --cc ':aki' --whiteboard 'mozharness'"
67 alias talos-bug="bz new Talos --cc ':jmaher'" 67 alias talos-bug="bz new Talos --cc ':jmaher'"
68
69 # notification: from
70 # http://www.netinfinity.org/2013/02/4/bits-and-pieces-ubuntu-terminal-notification.html
71 alias alert_helper='history|tail -n1|sed -e "s/^\s*[0-9]\+\s*//" -e "s/;\s*alert$//"'
72 alias alert='notify-send -i /usr/share/icons/gnome/32x32/apps/gnome-terminal.png "[$?] $(alert_helper)"'
73
68 74
69 # PROMPT 75 # PROMPT
70 PS1='│' 76 PS1='│'
71 PS2='.' 77 PS2='.'
72 PROMPT_COMMAND='echo -ne "\033]0;${SSH_CLIENT/*/$HOSTNAME:}${PWD/~/~}\007"' 78 PROMPT_COMMAND='echo -ne "\033]0;${SSH_CLIENT/*/$HOSTNAME:}${PWD/~/~}\007"'