Skip to content

"ellipsis links" does not list links deeper than a depth of 1 #67

Description

@kevinkjt2000

This issue all began when I wanted something similar to https://github.com/technicalpickles/homesick#homesick_subdir

There is a find command set to a maxdepth of 1 in fs.bash:
https://github.com/ellipsis/ellipsis/blob/master/src/fs.bash#L56
I have a dot-vim that links a directory a few subfolders down from home. So when I run "ellipsis links", I only see the vimrc as a symlink. I expected to see all the symlinks that fs.link_file created.

I can see how bumping maxdepth higher than 1 in the home directory could be inefficient, so some alternate solution is needed here.
I propose that all symlinks created by the fs api are stored someplace for later lookup. Be that a flat text file or a small database of some sort.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions