rustic icon indicating copy to clipboard operation
rustic copied to clipboard

Confusing glob format in config on Windows

Open Limeth opened this issue 1 year ago • 0 comments

Hello! I ran into a bit of a struggle trying to get glob patterns to work with the glob/iglob setting in the config, on Windows. At first, I tried using iglob = '!C:\Users\limet\AppData' and was surprised that it didn't seem to work for me. After playing around with the format, I ended up with iglob = '!C:/Users/limet/AppData', which seemed to work fine. According to @aawsome, iglob = '!C:\\Users\\limet\\AppData' and iglob = "!C:\\\\Users\\\\limet\\\\AppData" should work as well. I think these settings don't have a documented example value in the config README.md, so just adding those would probably help some folks.

Thanks for your efforts!

Limeth avatar Sep 09 '24 19:09 Limeth