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

base_dirs weird behavior #143

Open
williamhCode opened this issue Dec 15, 2023 · 1 comment
Open

base_dirs weird behavior #143

williamhCode opened this issue Dec 15, 2023 · 1 comment

Comments

@williamhCode
Copy link

I'm trying to add my base_dirs providing a list of all my work directories, but only some get added for some reason. So I tested with just adding "~/", and it adds some irrelevant directories to my projects.

In my config:

  extensions = {
    project = {
      base_dirs = { "~/", },
...

And for some reason my telescope-projects.txt generates two random directories in my home folder:

.dotfiles=/Users/williamhou//.dotfiles=w0=1=1
m1-multimc-hack=/Users/williamhou//Minecraft/m1-multimc-hack=w0=1=1

When I try to add multiple directories it becomes chaotic:

base_dirs = { "/Users/williamhou", "/Users/williamhou/.dotfiles", "/Users/williamhou/.dotfiles/nvim/.config/nvim", "/Users/williamhou/Library/Mobile Documents/iCloud~md~obsidian/Documents/Notes", "/Users/williamhou/Documents/Work/Resume stuff" }

telescope-projects.txt

.dotfiles=/Users/williamhou//.dotfiles=w0=1=1
m1-multimc-hack=/Users/williamhou//Minecraft/m1-multimc-hack=w0=1=1
.dotfiles=/Users/williamhou/.dotfiles=w0=1=1
m1-multimc-hack=/Users/williamhou/Minecraft/m1-multimc-hack=w0=1=1
.dotfiles=/Users/williamhou/.dotfiles=w0=1=1
nvim=/Users/williamhou/.dotfiles/nvim/.config/nvim=w0=1=1702606930
@sakithb
Copy link

sakithb commented Jan 15, 2024

Same issue here

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