diff --git a/docs/cheatsheet.md b/docs/cheatsheet.md index 39c371a..3f2765c 100644 --- a/docs/cheatsheet.md +++ b/docs/cheatsheet.md @@ -78,7 +78,6 @@ httrack "https://example.com" -O ./out "+*.example.com/*" настраиваются через `~/.config/duti/config` (управляется в `home/duti.nix`): - `com.google.Chrome` — html, url -- `VSCodium` — txt (см. ⚠️ ниже) - `MarkEdit` — markdown - `kitty` — shell scripts - `com.apple.Preview` — pdf @@ -88,11 +87,4 @@ httrack "https://example.com" -O ./out "+*.example.com/*" ```bash duti -x html duti -x md -duti -x txt ``` - -⚠️ **для `.txt` файлов** на macOS Sonoma+ Apple блокирует настройку через CLI. -настроить вручную: -1. правый клик на .txt файл → **Get Info** -2. раздел **"Open with:"** → выбрать **VSCodium** -3. нажать **"Change All..."** → подтвердить diff --git a/home/duti.nix b/home/duti.nix index 9d7e400..f0bcdc0 100644 --- a/home/duti.nix +++ b/home/duti.nix @@ -18,7 +18,7 @@ net.sourceforge.skim-app.skim com.adobe.pdf all # mail - com.apple.Mail public.email-message all + com.apple.mail public.email-message all ''; # defaults applied via system.activationScripts.defaultApps in hosts/poppy/default.nix }