From 5aefd46cb6ed47791efaeeaed5bfc5c09c47e9cb Mon Sep 17 00:00:00 2001 From: Aviv Ben Shahar Date: Mon, 6 May 2024 15:11:05 +0300 Subject: [PATCH 1/2] fix(apps): support `smartmontools` for MacOS --- src/commands/install/config/apps-groups/mac.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/commands/install/config/apps-groups/mac.ts b/src/commands/install/config/apps-groups/mac.ts index e63328f..d31d193 100755 --- a/src/commands/install/config/apps-groups/mac.ts +++ b/src/commands/install/config/apps-groups/mac.ts @@ -1,4 +1,5 @@ import type { IAppSetup } from '@models/app-setup.model' +import { BREW_INSTALL } from '../common-commands' export const MACOS: Readonly = [ { @@ -13,6 +14,12 @@ export const MACOS: Readonly = [ `sudo /bin/bash -c "echo 'auth sufficient pam_tid.so' >> /etc/pam.d/sudo_local"`, ], }, + { + name: 'smartmontools', + description: 'Monitor your hard drive health', + group: 'MacOS', + commands: () => [BREW_INSTALL('smartmontools')], + }, { name: 'Update MacOS version', group: 'MacOS', From 65cb1a652e316cfdab27ae4893fe41f87c190b0b Mon Sep 17 00:00:00 2001 From: Aviv Ben Shahar Date: Wed, 8 May 2024 12:02:56 +0300 Subject: [PATCH 2/2] fix(git): add flag `--ahead-behind` for `git status` --- zsh/extends/.zshrc.extends.git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/extends/.zshrc.extends.git.sh b/zsh/extends/.zshrc.extends.git.sh index 9fdb9eb..79a3174 100755 --- a/zsh/extends/.zshrc.extends.git.sh +++ b/zsh/extends/.zshrc.extends.git.sh @@ -5,7 +5,7 @@ source "$HOME/shell-config/zsh/extends/.zshrc.extends.vscode.sh" alias gl="git log" alias gd="git diff" -alias gs="git status" +alias gs="git status --ahead-behind" alias ga="git add ." alias gc="git commit -m" alias gcm="git commit --no-edit"