]> git.p6c8.net - policy-templates.git/blobdiff - mac/README.md
Merge pull request #527 from apizz/patch-1
[policy-templates.git] / mac / README.md
index 486f94b86b302d0e2881e6b41b3147ffa3f95c6b..eda62857a2b0f8857b179ce87159553101b1072c 100644 (file)
@@ -19,14 +19,14 @@ For example, this policy:
 }
 ```
 which would be set in the plist file like this:
-```plist
-  <key>Homepage</key>
-  <dict>
-    <key>URL</key>
-    <string>http://example.com</string>
-  </dict>
+```xml
+<key>Homepage</key>
+<dict>
+  <key>URL</key>
+  <string>http://example.com</string>
+</dict>
 ```
-As correctly writing nested values with the `defaults` command can be hard, Firefox also supports writing nested values by separating them with `__`, like this:
+Correctly writing the nested value with the `defaults` command can be hard, so you can flatten the keys by separating them with `__`, like this:
 ```bash
 sudo defaults write /Library/Preferences/org.mozilla.firefox Homepage__URL -string "http://example.com"
 ```

patrick-canterino.de