Skip to content

feat(dropbar): replace path with custom source#1430

Merged
ayamir merged 1 commit intomainfrom
feat/dropbar-path-src-custom
Mar 8, 2025
Merged

feat(dropbar): replace path with custom source#1430
ayamir merged 1 commit intomainfrom
feat/dropbar-path-src-custom

Conversation

@Jint-lzxy
Copy link
Collaborator

This commit replaces the default path source with a custom one to prevent the path section from always displaying (dropbar would incorrectly display the full path when switching eg to a terminal window as it would assume the terminal's cwd as the current working directory)

This commit replaces the default `path` source with a custom one to prevent the
path section from always displaying (dropbar would incorrectly display the full
path when switching eg to a terminal window as it would assume the terminal's
cwd as the current working directory)

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Copy link
Owner

@ayamir ayamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch will cause dropbar showing the filename as the top level.

@ayamir ayamir merged commit b316dfc into main Mar 8, 2025
4 checks passed
@ayamir ayamir deleted the feat/dropbar-path-src-custom branch March 8, 2025 04:59
@ayamir
Copy link
Owner

ayamir commented Mar 12, 2025

This patch will cause dropbar showing the filename as the top level.

This will cause inconvenience when open library file, make it hard to distinguish it with repo files. Any other solutions to solve it? @Jint-lzxy

ayamir pushed a commit that referenced this pull request Mar 17, 2025
This was referenced Apr 3, 2025
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.

2 participants