Skip to content

fix(filepicker): treat symlinked directories as navigable#978

Open
leno23 wants to merge 1 commit into
charmbracelet:mainfrom
leno23:fix/filepicker-symlink-directory-236
Open

fix(filepicker): treat symlinked directories as navigable#978
leno23 wants to merge 1 commit into
charmbracelet:mainfrom
leno23:fix/filepicker-symlink-directory-236

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

Fixes charmbracelet/gum#236.

Symlinks pointing at directories are now treated as directories in the file picker UI and are no longer returned as file selections when pressing enter.

Test plan

  • Manual: symlink to directory can be opened in file picker

Made with Cursor

Fixes charmbracelet/gum#236.

Resolve symlink targets when deciding if an entry is a directory so
symlinks to folders can be opened instead of being selected as files.

Co-authored-by: Cursor <cursoragent@cursor.com>
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

Successfully merging this pull request may close these issues.

gum file should treat symbolic links to directories not as files but as directories

1 participant