Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u option (cd) does not appear to do anything #17

Open
anvandaren opened this issue Oct 29, 2021 · 1 comment
Open

u option (cd) does not appear to do anything #17

anvandaren opened this issue Oct 29, 2021 · 1 comment

Comments

@anvandaren
Copy link

Hi,

Just installed lazycli on Ubuntu 18.04 and tried it with ls -l. The u option does not appear to do anything. Is the intention to change directory of the terminal that is running lazycli?

Thanks!

@yanshay
Copy link

yanshay commented Apr 22, 2022

I noticed that as well. I think it's because the "current" or "working" directory is a per-process parameter, and a process can only change its own working directory.
In order to take care of that one option I can see is to have the command activated by 'u' also write to some file and then wrap lazycli with additional shell function that would change directory if that file exist and erase the file. I've seen a similar "trick" done with ranger file manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants