You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Have been using lf (thanks for implementing the tool!) and one thing I normally do, is open lf in a terminal when working on a particular project/repo. I would like to be able to prevent lf from navigating into parent directories, effectively setting the root to ./.
Is this currently possible? I scanned the docs but couldn't find anything.
Maybe having an extra command line option like -root string would be one way to achieve this.
If this sounds useful, with some guidance, I could try to implement this myself.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
@rizo Maybe there is a tool like chroot that can achieve what you want without support from our side. There are some tools mentioned in chroot arch wiki page, so maybe they are worth a try.
Other than that, maybe it is possible to override the default updir command to prevent going further than OLDPWD.
Hi! Have been using lf (thanks for implementing the tool!) and one thing I normally do, is open lf in a terminal when working on a particular project/repo. I would like to be able to prevent lf from navigating into parent directories, effectively setting the root to
./
.Is this currently possible? I scanned the docs but couldn't find anything.
Maybe having an extra command line option like
-root string
would be one way to achieve this.If this sounds useful, with some guidance, I could try to implement this myself.
Thanks in advance.
The text was updated successfully, but these errors were encountered: