From 19a50ae205695b80a14e92ce9a1fd3d972bb0302 Mon Sep 17 00:00:00 2001 From: Marley Rae Date: Sun, 4 Feb 2024 18:58:11 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20macOS=20prefs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- os/macos/mail.pref.fish | 0 os/macos/spotlight.pref.fish | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) mode change 100644 => 100755 os/macos/mail.pref.fish diff --git a/os/macos/mail.pref.fish b/os/macos/mail.pref.fish old mode 100644 new mode 100755 diff --git a/os/macos/spotlight.pref.fish b/os/macos/spotlight.pref.fish index a46363c..37151d9 100755 --- a/os/macos/spotlight.pref.fish +++ b/os/macos/spotlight.pref.fish @@ -33,8 +33,6 @@ execute "defaults write com.apple.spotlight orderedItems -array \ killall mds &>/dev/null -# Make sure indexing is enabled for the main volume. -sudo mdutil -i on / >/dev/null +execute "sudo mdutil -i on / >/dev/null" "Enable indexing for the main volume" -# Rebuild index from scratch. -sudo mdutil -E / >/dev/null +execute "sudo mdutil -E / >/dev/null" "Rebuild index"