you can make a "system alias" with the following nushell snippet
(
let command = (which batcat | get path.0);
sudo cp $command ($command | path dirname | path join "bat")
) | ignorethis will copy the batcat command and make it a bat clone in the same directory as batcat.
that can be useful on ubuntu for instance where the binary is called batcat, which conflicts with an arch-based config, which uses bat 😋