-
-
Save paneq/1058109 to your computer and use it in GitHub Desktop.
rake with notification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bundle exec rake "$@" | |
if [ $? = 0 ]; | |
then | |
notify-send -u critical "Yeah" -i $HOME/bin/notify-images/happy.jpg | |
else | |
notify-send -u critical "fffuck!" -i $HOME/bin/notify-images/fffuuu.jpg | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/pawelpacana/dotfiles/blob/master/bash/bashrc#L127 ale bez obrazków...