From 551e83a1c02cc8883d8b3045a96d8e2c5a5b7d93 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Tue, 2 Jan 2024 01:20:13 +0000 Subject: [PATCH] Latest --- .../universal/run_before_05-system.sh.tmpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/home/.chezmoiscripts/universal/run_before_05-system.sh.tmpl b/home/.chezmoiscripts/universal/run_before_05-system.sh.tmpl index 054d4f43..e5bf3f37 100644 --- a/home/.chezmoiscripts/universal/run_before_05-system.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_before_05-system.sh.tmpl @@ -626,10 +626,17 @@ setTimezone() { fi } -# @description Configures macOS to enable the notification center +# @description Configures macOS to enable the notification center. `&> /dev/null` was added to the command +# because the following useless error was being reported: +# +# ```shell +# Load failed: 5: Input/output error +# Try running `launchctl bootstrap` as root for richer errors. +# Restart your computer for this to take effect +# ``` showNotificationCenter() { if command -v m > /dev/null; then - logg info 'Configuring macOS to show notification center' && m notification showcenter YES + logg info 'Configuring macOS to show notification center' && m notification showcenter YES &> /dev/null fi }