The numerical description of discrete cracks and their propagation remains one of the main difficulties in the modeling of quasi-brittle materials such as rock or concrete. An emerging powerful approach is the use of Configurational Mechanics concepts, in such a way that crack trajectory really corresponds to a structural energy minimum and is not predetermined by the initial mesh lines. In the implementation developed, discrete cracks, represented by zero-thickness interface elements, are reoriented on the basis of configurational or material forces, calculated in a FEM context by an integration over the elements of the Eshelby energy-momentum tensor. The strategy is illustrated with an application example for which the fracture path is known a priori, and the initial mesh layout is chosen such that the lines zig-zag significantly with respect to it. The results show that the procedure implemented works successfully, that is, mesh lines do succeed in reorienting themselves during configurational iterations, so that the developing crack progressively matches the known physical trajectory