You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For bug reports, I have checked if the bug is reproducible in the latest version of fzf
Output of fzf --version
0.57.0 (brew)
OS
Linux
macOS
Windows
Etc.
Shell
bash
zsh
fish
Problem / Steps to reproduce
macOS binds what is essentially the root directory* to several points via both mounting and symlinks. This means, by default, it is not possible to avoid searching the same folders at least twice if you do it in the root directory. For example, searching for "Macintosh HD" leads to both /Volumes/Macintosh HD and /System/Volumes/Data/Volumes/Macintosh HD
This is rather unintuitive and I suggest the default configuration on Mac being changed to avoid this problem, or an option to exclude a folder being searched more generally.
*The only difference it that the symlinked root has a bin folder that is not present in any of the mounted ones and the mounted one has a MobileSoftwareUpdate folder not found in the symlinked one.
Also a similar problem can be obtained as the /System/Volumes/Data folder may be linked into certain apps working sandboxes. eg. searching for "file" in my downloads folder led to
Checklist
man fzf
)Output of
fzf --version
0.57.0 (brew)
OS
Shell
Problem / Steps to reproduce
macOS binds what is essentially the root directory* to several points via both mounting and symlinks. This means, by default, it is not possible to avoid searching the same folders at least twice if you do it in the root directory. For example, searching for "Macintosh HD" leads to both /Volumes/Macintosh HD and /System/Volumes/Data/Volumes/Macintosh HD
This is rather unintuitive and I suggest the default configuration on Mac being changed to avoid this problem, or an option to exclude a folder being searched more generally.
*The only difference it that the symlinked root has a bin folder that is not present in any of the mounted ones and the mounted one has a MobileSoftwareUpdate folder not found in the symlinked one.
Root directory examples
Symlinks
Mount
Both
etc
Edit
Also a similar problem can be obtained as the /System/Volumes/Data folder may be linked into certain apps working sandboxes. eg. searching for "file" in my downloads folder led to
/Users/pc/Library/Containers/com.utmapp.UTM/Data/Downloads/file
/Users/pc/Library/Containers/com.utmapp.UTM/Data/Downloads/file
/Users/pc/Library/Containers/com.apple.podcasts/Data/Downloads/file
/Users/pc/Library/Containers/com.apple.FaceTime/Data/Downloads/file
x100
The text was updated successfully, but these errors were encountered: