Taking hidden files parameter into account in windows (#1684)

* taking hidden files parameter into account

* Updated doc and removed irelevant linter comment

* fixed doc

* fixed doc again

* Defaulted to empty string on windows
This commit is contained in:
Catalin Ancutei authored and GitHub committed 2024-06-17 19:03:29 +10:00
1 parent 2d3cc97f78
commit 791341990c
5 files changed
+30 -14

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ func init() {
gOpts.truncatechar = "~"
gOpts.truncatepct = 100
gOpts.ratios = []int{1, 2, 3}
gOpts.hiddenfiles = []string{".*"}
gOpts.hiddenfiles = gDefaultHiddenFiles
gOpts.history = true
gOpts.info = nil
gOpts.ruler = nil