~/repos/lfortran(main)$ echo $PATH > ~/.shell-lf
error opening file for redirect (C:\Users\ondrejcertik\repos\lfortran\~/.shell-lf). The system cannot find the path specified. (os error 3)
As a workaround, this works:
echo $PATH > 'C:\Users\ondrejcertik\.shell-lf'