u option (cd) does not appear to do anything
anvandaren opened this issue · comments
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!
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.