gokcehan / lf

Terminal file manager
MIT License
7.79k stars 331 forks source link

feat: temlated shell command #1852

Open 39555 opened 1 week ago

39555 commented 1 week ago

1784

WIP. I lost the track of this issue and have since fully switched away from windows and from nushell. Getting powershell, bash and cmd (especially cmd) to agree upon different things is challenging and requires a lot of cross-platform testing. Here is my progress so far. I made a big part of the issue along with the OS integration tests by launching the full lf inside the tcell.NewSimulationScreen. However, there are many edge cases with escaping rules. The code is a little bit messy but I decided to open a draft anyway -- If someone is interested in this feature and willing to continue the work, that would be great