Created
April 2, 2017 19:40
-
-
Save pinkisemils/12acbae19f8a9999aa7c26886fed7259 to your computer and use it in GitHub Desktop.
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
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