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

Directory does not change when changing projects through Telescope #150

Open
shalawfatah opened this issue Mar 27, 2024 · 2 comments
Open

Comments

@shalawfatah
Copy link

This plugin works well and I enjoy it, great work.
I run nvim anywhere and I hit certain keys to open :Telescope projects, which opens project list,
I open a project, and run :!pwd, sure thing, the directory change has happened.
However, if I change the project again through the same keybinding (:Telescope projects), the change happens and every other plugin works with it, including telescope, but running !pwd shows that I'm still on the first opened project.
I wonder how to solve this?
This is an issue for me becuase I want to start Tmux sessions based on the current project I work on.
Best

@aburak621
Copy link

I have the same problem. After opening up a project with the telescope picker, going to my lua config with the ":e" command doesn't change the cwd. So when I try to search for a file in my config, files from the previous project comes up.

@shalawfatah
Copy link
Author

@aburak621 For me, everything works fine, like the projects load and if I do telescope, it shows the files and the folders for the correct place, the only problem is after the first time, the plugin does not cd into new projects (or at least the shell does not recognize it).

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