From 6889d6f1dadd0fb1168a207e4e26d6fd6c1e7dbe Mon Sep 17 00:00:00 2001 From: "thomas.kopp" Date: Sat, 8 Aug 2026 22:31:24 +0200 Subject: [PATCH] fix(mobile): restore the Mac's update alias The base defines update only where yay exists. The Mac had its own, wrapping brew update, upgrade, cask upgrade, greedy upgrade and cleanup, and it was lost in the checkout. It was the only real loss there. The eight macports aliases that also went are no loss at all - MacPorts is not installed on that machine, so pc, pi, pli and the rest all pointed at a command that does not exist. Co-Authored-By: Claude Opus 5 --- .config/zsh/rc.d/50-mobile.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/zsh/rc.d/50-mobile.zsh b/.config/zsh/rc.d/50-mobile.zsh index f73534d..45310d5 100644 --- a/.config/zsh/rc.d/50-mobile.zsh +++ b/.config/zsh/rc.d/50-mobile.zsh @@ -28,3 +28,9 @@ bench() { # The previous configuration exported PYTHONPATH=/usr/lib/python3.9/site-packages. # That is a Linux path and does not exist on macOS at all; beastix and shron # carried the same line pointing at 3.9 and 3.4 respectively. None are kept. + +# The base defines "update" only where yay exists, which is the two Arch +# machines. This is the Mac's equivalent, and it was the one thing genuinely +# lost in the first checkout here - the eight macports aliases that also +# disappeared pointed at a "port" command this machine does not have. +alias update="brew update && brew upgrade && brew upgrade --cask && brew upgrade --greedy && brew cleanup"