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..

  • Do you mean completion and editor, or all the subdirectories, too? – choroba Sep 9 '19 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.,. – xiaodong huan Sep 9 '19 at 8:51
  • ??? not a same problem – xiaodong huan Sep 9 '19 at 8:54
  • So the result list should NOT contain pack/completion and pack/editor? – xuchunyang Sep 9 '19 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.