juftin / browsr

🗂️ a pleasant file explorer in your terminal supporting all filesystems
http://juftin.com/browsr/
MIT License
237 stars 14 forks source link

xonsh shell support #44

Open anki-code opened 7 months ago

anki-code commented 7 months ago

Hi! Thank you for the awesome tool!

Is there a way to use it with the shell i.e. with the python-powered xonsh shell?

Thanks!

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

juftin commented 7 months ago

xonsh might not be possible with the textual framework, but this would be very doable with textual-terminal.

Just curious, what would be your recommended UX? I was thinking something like the T keyboard binding that pops up a terminal window on the lower 50% of the screen

juftin commented 7 months ago

One issue I can think of is this might not be super intuitive with remote filesystems. I.e. you're looking at a directory via SFTP and you expect ls to return the files you're looking at instead of what's on your local machine

anki-code commented 7 months ago

Just curious, what would be your recommended UX? I was thinking something like the T keyboard binding that pops up a terminal window on the lower 50% of the screen

Yep, it will be cool.

One issue I can think of is this might not be super intuitive with remote filesystems

For me it's ok to press t and get the terminal for local. It could be improved in the future to ssh to the machine and may be use xxh :)

anki-code commented 7 months ago

To support your project I mentioned browsr on the xxh readme:

image