forked from tmux-plugins/tmux-sidebar
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Description:
On macOS, treemux opens the sidebar at the parent directory of the current working directory instead of the actual current directory.
Steps to reproduce:
- Open a tmux session
- cd to a specific directory (e.g.,
/Users/username/project) - Press Ctrl-b Tab (or custom key) to open treemux sidebar
- The sidebar opens at the parent directory (
/Users/username) instead of/Users/username/project
Expected behavior:
The sidebar should open at /Users/username/project but instead opens at /Users/username.
Debugging notes:
lsof -a -d cwd -p <pid>correctly returns the full path (e.g.,/Users/zhiyuanzhai/project)- However, the Python script
go_random_within_rootdir.pyreturns a truncated path (the parent directory) - This appears to be related to how the Lua code in
go_random_within_rootdir.pyhandles path comparison on macOS
Environment:
- macOS Tahoe 26.2
- tmux 3.6a
- Neovim with nvim-tree
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels