mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-23 03:46:29 +00:00
8 lines
202 B
Fish
8 lines
202 B
Fish
function notify-result --description "Notify success or failure depending on the result of the previous command"
|
|
if [ $status -eq 0 ]
|
|
notify-success
|
|
else
|
|
notify-fail
|
|
end
|
|
end
|