We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.config
1 parent 404760e commit da831cfCopy full SHA for da831cf
src/main.rs
@@ -153,8 +153,10 @@ impl ZellijPlugin for State {
153
}
154
155
fn is_hidden(path: &Path) -> bool {
156
+ const WHITELIST: [&str; 1] = [".config"];
157
+
158
path.file_name()
159
.and_then(|s| s.to_str())
- .map(|s| s.starts_with('.'))
160
+ .map(|s| s.starts_with('.') && !WHITELIST.contains(&s))
161
.unwrap_or(false)
162
0 commit comments