shoestrap/assets/default/oh-my-fish/pkg/notify-funcs/notify-result.fish
ViViDboarder 028d0a56a0 Add support for both omf and fisherman
omf seems a bit janky at times. Giving fisherman a shot
2016-02-11 17:17:28 -08: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