softwareupdate --list
sudo softwareupdate --verbose --install --all
COMPUTER_NAME="<computer-name>"
sudo scutil --set ComputerName $COMPUTER_NAME
| { | |
| "atomic_save": false, | |
| "auto_complete_commit_on_tab": false, | |
| "auto_complete_with_fields": true, | |
| "bold_folder_labels": false, | |
| "caret_extra_width": 1, | |
| "color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", | |
| "default_line_ending": "unix", | |
| "detect_indentation": false, | |
| "detect_slow_plugins": false, |
| [{ | |
| "keys": ["f12"], | |
| "command": "reindent" | |
| }, { | |
| "keys": ["f10"], | |
| "command": "js_format", | |
| "context": [{ | |
| "key": "selector", | |
| "operator": "equal", | |
| "operand": "source.js,source.json" |
| // selectorSupported lovingly lifted from the mad italian genius, diego perini | |
| // http://javascript.nwbox.com/CSSSupport/ | |
| function selectorSupported(selector){ | |
| var support, link, sheet, doc = document, | |
| root = doc.documentElement, | |
| head = root.getElementsByTagName('head')[0], | |
| impl = doc.implementation || { |
| [ | |
| { | |
| "keys": ["ctrl+w"], | |
| "command": "run_multiple", | |
| "args": { | |
| "commands": [ | |
| {"command": "find_under_expand", "args": null, "context": "window"}, | |
| {"command": "show_panel", "args": {"panel": "find"}, "context": "window"} | |
| ] | |
| } |
| // selectorSupported lovingly lifted from the mad italian genius, diego perini | |
| // http://javascript.nwbox.com/CSSSupport/ | |
| function selectorSupported(selector){ | |
| var support, link, sheet, doc = document, | |
| root = doc.documentElement, | |
| head = root.getElementsByTagName('head')[0], | |
| impl = doc.implementation || { |