From c5352aa0eb756aa1d1ead3c5f31d28b2204491a3 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 4 Jan 2026 00:08:23 +0000 Subject: [PATCH] [shell-common] Move macOS specific config --- shell-common/.config/shell-common/aliases.sh | 14 +------------- shell-common/.config/shell-common/exports.sh | 7 ------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/shell-common/.config/shell-common/aliases.sh b/shell-common/.config/shell-common/aliases.sh index cc07370..921bd49 100644 --- a/shell-common/.config/shell-common/aliases.sh +++ b/shell-common/.config/shell-common/aliases.sh @@ -1,17 +1,5 @@ # shellcheck shell=bash - -# macOS aliases -if [[ $(uname) == "Darwin" ]]; then - alias ls="ls -FG" - alias flushdns="sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder" - - # Use Tailscale binary if installed via app - if [ -d "/Applications/Tailscale.app" ]; then - alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale" - fi -else - alias ls="ls -F --color=auto" -fi +alias ls="ls -F --color=auto" # Use code-insiders if installed if [ -x "$(command -v code-insiders)" ]; then diff --git a/shell-common/.config/shell-common/exports.sh b/shell-common/.config/shell-common/exports.sh index 6acb81a..8151138 100644 --- a/shell-common/.config/shell-common/exports.sh +++ b/shell-common/.config/shell-common/exports.sh @@ -42,13 +42,6 @@ if [ -f $HOME/.cargo/env ]; then source $HOME/.cargo/env fi -# macOS Specific envs -if [[ $(uname) == "Darwin" ]]; then - # Homebrew - export HOMEBREW_NO_ENV_HINTS=1 - [ -d /opt/homebrew ] && eval "$(/opt/homebrew/bin/brew shellenv)" -fi - # https://github.com/oz/tz if [ -x "$(command -v tz)" ]; then export TZ_LIST="Europe/Dublin,Portwest HQ;America/New_York,WDW;America/Los_Angeles,DLR;Europe/Paris,DLP"