shoestrap/assets/default/fish/custom/plugins/notify-funcs/notify-result.fish
2015-07-06 09:23:17 -07:00

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