macOS Terminal.app interpreter
Project description
Installation
$ [sudo] pip install mac-terminal-interpreter
$ [sudo] npm i -g mac-terminal-interpreter
How it works
script.ext
#!/usr/bin/env terminal
...
stdout, stderr logs:
~/Library/Logs/<slug>/<date>/out.log
~/Library/Logs/<slug>/<date>/err.log
Config
~/.bashrc
:
export MAC_TERMINAL_CLOSE=0 # doesn't close (default)
export MAC_TERMINAL_CLOSE=1 # close if the shell exited cleanly
export MAC_TERMINAL_CLOSE=2 # close always
Terminal error sound:
$ defaults write .GlobalPreferences com.apple.sound.beep.sound /System/Library/Sounds/Basso.aiff
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for mac-terminal-interpreter-2020.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7841a6c51c1b6e8cdab50a2b16be6b17424729a7070d516fec842d97b815c7c7 |
|
MD5 | 037900cd92da0dd54b58cf243ce2a204 |
|
BLAKE2b-256 | 08830a5a1659f07da283dbcbf6ec0713945c237de47fb02596389fa7864539c1 |