diff --git a/.gitignore b/.gitignore
index 27472ed92..e1056e214 100644
--- a/.gitignore
+++ b/.gitignore
@@ -85,8 +85,8 @@ dlldata.c
 *.svclog
 *.scc
 
-# Mac OS X specific
-shell_integration/MacOSX/*.xcworkspace/xcuserdata/
+# macOS specific
+xcuserdata/
 **/.DS_Store
 
 # Visual C++ cache files