If you're comfortable with shell scripting, you can get that today. There's code for a number of shells in this issue https://github.com/atuinsh/atuin/issues/798
Adding it to Atuin will take a bit of work to keep it from being too brittle, so it hasn't yet been done.