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"