Here is a fully formed (but minimal) Dynamic Profiles plist: The "Name" is the name, as seen in the Profiles window or in Preferences. One easy way to generate a Guid is to use the uuidgen program, which comes standard with macOS. No other profile should ever have the same guid. It is used to track changes to the profile over time. The "Guid" is a globally unique identifier. There are two required fields for each profile: Here's an example of the skeletal structure of a JSON property list that iTerm2 expects for Dynamic Profiles: Property lists may be written in JSON or XML. Property List FormatĪ property list describes a data structure consisting of arrays, dictionaries, strings, integers, and boolean values. If any is malformed, then no changes will be processed. All files in the folder must be valid property lists. No particular file extension is required. Any time the folder's contents change, all files in it are reloaded.įiles in this folder are expected to be formatted as Apple Property Lists. While iTerm2 runs, it monitors the contents of that folder. ~/Library/Application Support/iTerm2/DynamicProfiles Availabilityĭynamic Profiles are available in iTerm2 0923 and later. Profiles may be changed at runtime by editing one or more plist files (formatted as JSON, XML, or in binary). WARNING: This document is for an older version of iTerm2.ĭynamic Profiles is a feature that allows you to store your profiles in a file outside the usual macOS preferences database.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |