How to hide certain dotfiles like .gitignore .DS_Store etc. but not others #1585
-
I usually have 'set hidden' in my lfrc as I frequently edit dot files. However, I do not want to see files like .DS_Store and files that start with ._ Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
joelim-work
Jan 27, 2024
Replies: 1 comment 1 reply
-
Instead of using The following will treat
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
GeordyJ
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of using
set hidden
to forcefully show hidden files, you can configure thehiddenfiles
option to define what should be considered as a hidden file.The following will treat
.DS_Store
and files starting with._
as hidden: