Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 1018 Bytes

README.md

File metadata and controls

54 lines (32 loc) · 1018 Bytes

CI

Blog Article (Japanese)

pdef

pdef generates patch script of Mac OS X User Defaults (property list).

Description

Before and after you set any environmental settings from GUI, please write out property lists to files.

pdef generates a shell-script with comparing files of a property list.

Next time you set the same environmental settings, you only execute the shell-script without manipulating GUI.

Install

$ brew install yammerjp/tap/pdef

Usage

$ defaults read > before

# Set any settings on GUI

$ defaults read > after

$ pdef before after > path/to/file

Demo

demo movie

Build

$ git clone https://github.com/yammerjp/pdef.git
$ cd pdef
$ make
# built binary is on bin/pdef

License

MIT

Auther

yammerjp