From 157dc4ccde1995fea72cef292ab2273997f960cd Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sun, 10 Mar 2024 20:10:56 +0000 Subject: [PATCH] Updates to macOS "p" --- MacOS/homeConfigs/.zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MacOS/homeConfigs/.zshrc b/MacOS/homeConfigs/.zshrc index e1c8cf6e..38e1b253 100644 --- a/MacOS/homeConfigs/.zshrc +++ b/MacOS/homeConfigs/.zshrc @@ -22,12 +22,13 @@ p () { shift brew install $* ;; - remove|uninstall|delete|r|d) + remove|r|) shift brew uninstall $* ;; update|u) brew update + brew autoremove ;; list|l) brew list @@ -38,7 +39,7 @@ p () { sudo softwareupdate -iaR ;; *) - echo "Usage: p {install(i)|remove(r/d)|update(u)|list(l)|macOSupdate(m)} " + echo "Usage: p {(i)nstall|(r)emove|(u)pdate|(l)ist|(m)acOSupdate} " ;; esac }