Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Say in ARCHITECTURE.md that the Terminal page makes ~/.hushlogin

Țugui Dragoșe8d77980d706
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index 9259ee2c..e7cb1f40 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -178,17 +178,17 @@ macOS asks the user to approve it once. It talks to the app over XPC.
sentences into the reader's language (`FixedSentence`).
- **Terminal.** The Terminal page writes Terminal's own preferences: Peel's themes as profiles of their own, each
built by `TerminalProfile` from Apple's Clear Dark, the profile Terminal opens with, and two keys in the Peel theme
- in use (`TerminalOption`). `TerminalThemeLedger` keeps what Terminal used before and the fingerprint of each profile
- Peel wrote, so Put Back takes away only a profile still as Peel wrote it. Peel writes only while Terminal is
- closed: an open Terminal does not read a change made outside it, and writes its own settings over it. The Shell
- and SSH tabs write only files of Peel's own in its folder, `Terminal/zshrc` (`ShellFile`, with the prompt from
- `Prompt`) and `Terminal/ssh_config` (`SSHFile`), which zsh and ssh read through lines the person adds: Peel
- never edits `~/.zshrc` or `~/.ssh/config`. The Git tab changes Git's settings only through `git config --global`
- (`GitConfig`), and `GitLedger` keeps what each key held, so turning a setting off puts it back. A setting is
- offered only when the tool on the Mac knows it: zsh lists its options and functions (`ZshRequirements`), Git its
- keys (`git help --config`), and ssh accepts the options on its own command line. The Tools tab installs nothing:
- `TerminalTool` gives each tool's Homebrew formulae and the lines its documentation gives, and Homebrew is asked
- whether it still offers them.
+ in use (`TerminalOption`); for the "Last login" line it makes an empty `~/.hushlogin` (`HushLogin`), which turning
+ it off moves to the Trash. `TerminalThemeLedger` keeps what Terminal used before and the fingerprint of each profile
+ Peel wrote, so Put Back takes away only a profile still as Peel wrote it. Peel writes only while Terminal is closed:
+ an open Terminal does not read a change made outside it, and writes its own settings over it. The Shell and SSH tabs
+ write only files of Peel's own in its folder, `Terminal/zshrc` (`ShellFile`, with the prompt from `Prompt`) and
+ `Terminal/ssh_config` (`SSHFile`), which zsh and ssh read through lines the person adds: Peel never edits `~/.zshrc`
+ or `~/.ssh/config`. The Git tab changes Git's settings only through `git config --global` (`GitConfig`), and
+ `GitLedger` keeps what each key held, so turning a setting off puts it back. A setting is offered only when the tool
+ on the Mac knows it: zsh lists its options and functions (`ZshRequirements`), Git its keys (`git help --config`),
+ and ssh accepts the options on its own command line. The Tools tab installs nothing: `TerminalTool` gives each
+ tool's Homebrew formulae and the lines its documentation gives, and Homebrew is asked whether it still offers them.
- **Watching the Trash.** `TrashMonitor` notices an app the user moves to the Trash: the home's, and the Trash of
each other disk Peel lists apps on (`VolumeTrashes`), where an app thrown away from that disk lands. `TrashService`
tells it about Peel's own moves (`OwnTrashMoves`), by where each item landed, so Peel never offers to clean up