Skip to content

Instantly share code, notes, and snippets.

@rxw1
Created July 20, 2012 00:28
Show Gist options
  • Save rxw1/3147896 to your computer and use it in GitHub Desktop.
Save rxw1/3147896 to your computer and use it in GitHub Desktop.
Edit Property Lists with plutil and Sublime (or any other $EDITOR)
pledit() {
test ! -O $1 && x=sudo
$x plutil -convert xml1 $1 && subl -wn $1
$x plutil -lint $1 && $x plutil -convert binary1 $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment