0

I have a folder structure like this,i want get a list that all folder names in pack folder. Then traverse the list and load them

├── pack
│   ├── completion
│   │   ├── company
│   │   │   └── pack-company.el
│   │   ├── ivy
│   │   │   └── pack-ivy.el
│   │   └── smartchr
│   │       └── pack-smartchr.el
│   ├── editor
│   │   ├── evil
│   │   │   └── pack-evil.el
│   │   ├── fold
│   │   │   └── pack-fold.el
│   │   └── multiple-cursors
│   │       └── pack-multiple.el

list will has pack/completion/company, pack/completion/ivy etc..

6
  • Do you mean completion and editor, or all the subdirectories, too?
    – choroba
    Sep 9, 2019 at 8:47
  • @choroba i update the post, i want get the list which has pack/completion/company ,pack/completion/ivy ,pack/editor/evil etc.,. Sep 9, 2019 at 8:51
  • ??? not a same problem Sep 9, 2019 at 8:54
  • So the result list should NOT contain pack/completion and pack/editor?
    – xuchunyang
    Sep 9, 2019 at 9:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.