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

Full path shows in TUI when using symlink folders #539

Open
nightshade427 opened this issue Oct 1, 2023 · 1 comment
Open

Full path shows in TUI when using symlink folders #539

nightshade427 opened this issue Oct 1, 2023 · 1 comment

Comments

@nightshade427
Copy link

Describe the bug
When using TUI from within a folder that is a symlink it renders the whole path and filename vs just the filename

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

  • OS Arch, Android
  • Shell bash
  • Terminal Emulator termux
  • Terminal Multiplexer none
  • Locale en_US.UTF-8

To Reproduce
Steps to reproduce the behavior:

  1. cd ~
  2. ln -s /mnt/notes notes
  3. cd notes/last_week
  4. glow
  5. tui shows full path (eg. /mnt/notes/last_week/mon.md) vs filename alone (eg. mon.md) like it does for none symlinked folders
@askoropadsky
Copy link

Upvote this issue.
I use Google drive to sync all my notes, and GDrive folder is a symlink somewhere else.
When I'm in this folder and run glow I can't even see file names as all I see is a long long path.

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

2 participants