-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Running fish 3.6.1 on SLES 12 (with clean home dir). For additional context, please see IlanCosman/tide#420
I have an nfs-mounted directory with ~4000 subdirectories. If I do something like set -l glob /path/a*/, where /path/ has lots of subdirs starting with a, it takes upwards of 2 min to complete. Doing an ls /path even at its worst, never takes more than ~10s. I'm not sure what the globbing is doing that is slowing it down.
The globbing does not appear to cache the results between commands, even though the filesystem itself does. If I do set -l glob /path/a*/; set l glob /path/ab*/ where the result is the same number of directories, the second glob runs instantly. When I run the same command a second time, though, it still takes 2 minutes, even though its immediately after.