Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TUI doesn't see any files in hidden directories #672

Open
tony-sol opened this issue Jan 14, 2025 · 0 comments
Open

TUI doesn't see any files in hidden directories #672

tony-sol opened this issue Jan 14, 2025 · 0 comments

Comments

@tony-sol
Copy link

Describe the bug
glow's TUI says there is 0 files if target directory contains hidden directory in realpath

Setup
Please complete the following information along with version numbers, if applicable.

  • OS: macOS
  • Shell: zsh
  • Terminal Emulator: wezterm
  • Terminal Multiplexer: tmux
  • Locale: en_US.UTF-8

To Reproduce
Steps to reproduce the behavior:

  1. set all: true in config file
  2. cd $(mktemp -d)
  3. mkdir {test,.test}
  4. echo '# Hey' | tee test/README.md test/.hidden.md .test/README.md
  5. glow ./
  6. see "1 documents test/README.md"
  7. cd .test
  8. glow ./
  9. see "0 documents"

Source Code
no need

Expected behavior

  1. TUI should search for files in cwd, no matter cwd realpath contains hidden directories or not, due to explicit cwd set.
  2. Described in glow's README config option
# show all files, including hidden and ignored.
all: true

should works as described

Screenshots

Additional context
none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant