Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #!/usr/bin/env zx | |
| const fs = require('fs') | |
| async function getCurrentVersion() { | |
| let version; | |
| try { | |
| version = await $`/Applications/Chromium.app/Contents/MacOS/Chromium --version` | |
| } catch (e) { |
| #!/bin/bash | |
| # I have managed to map out some undesirable daemons and agents. Most of these | |
| # can be disabled without too much consequence. | |
| ## Daemons | |
| # com.apple.analyticsd - Anonymized application analytics daemon | |
| # com.apple.appleseed.fbahelperd - Feedback Assistant Helper Daemon | |
| # com.apple.awacsd - Apple Wide Area Connectivity Service Daemon | |
| # com.apple.backupd - Apple TimeMachine service |