mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 23:16:31 +00:00
028d0a56a0
omf seems a bit janky at times. Giving fisherman a shot
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
|