Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 3
    would you mind re-including your proposed zsh solution as an alternate? it would be helpful for those of us trying to learn more about zsh Commented Aug 6, 2019 at 17:23
  • Given that this answer has received more votes: To those who are upvoting this answer, could you please specify why this is better than the rest? It would help me to choose the most suitable answer. Commented Aug 6, 2019 at 18:33
  • Stéphane, I agree with steeldriver. Do mention the previous zsh solution (it got, I believe, two of the upvotes), and feel free to point out any flaws in it that might have prompted you to remove it. Commented Aug 6, 2019 at 18:38
  • 1
    @steeldriver, in that zsh approach I (like you) had missed the part of the requirement that dirs that contain other md files should be omitted. Commented Aug 6, 2019 at 20:32
  • @StéphaneChazelas OP just clarified in the comments he actually meant for those to be included, it was just poorly phrased and people took it too literally. Commented Aug 7, 2019 at 20:59