Created
April 2, 2017 19:40
-
-
Save pinkisemils/ba22f26950134abbbe859be1578ccbfa to your computer and use it in GitHub Desktop.
This file contains 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
function aa(){ | |
$@; | |
ret_v=$? | |
if [ "$ret_v" = "0" ]; then | |
notify-send "$1 finished successfully" | |
else | |
notify-send "$1 finished with $ret_v" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment