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.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b3a5c7a17701a8056b69643241bce05c1708767d0f94b2dbf826f8ece6ff7a4 |
|
MD5 | 5e2adef70d8f603585098d132fe5cacc |
|
BLAKE2b-256 | 3dcfb77d0e8341034c12a05778a454003921bf9c23e1ad71258c9131a63dbc2e |