Help us understand the problem. What is going on with this article?

rosmakeが終わった後に通知する

More than 5 years have passed since last update.

.bashrcとかに以下を追加。

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) finished."'

function rosmake(){
                 `which rosmake` $@; alert
}

rosmakeが終わると画面右上に通知がでる。
よくビルド中に他の作業をしていて、ビルドしていたのを忘れるので。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away