Replies: 2 comments 8 replies
-
I think you could do:
That is enable searching hidden files, but exclude all files that start with "." except for . github |
Beta Was this translation helpful? Give feedback.
8 replies
-
Hi there. Seems like it is not possible at the moment. But you can use a not so readable non-fd way with grep. Something like this: fd -H test | grep -E -v '(\.\/\.)(?<!github)' You use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
But if I have to use
--hidden
, it'll also show a bunch of other "junk".How can I train
fd
to not treat.github
(for example) as a hidden directory? Ideally in a global config file because I don't want to have to remember copy some local.fdignore
file into everygit
repo root.PS.
.fdignore
might not at all be the right direction anyway because it's not that I want to ignore more, I want to ignore less kinda.Beta Was this translation helpful? Give feedback.
All reactions