config.fish: remove Intel-specific paths
- ID
b201016- date
2025-08-02 08:42:09+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
82498b8- message
config.fish: remove Intel-specific paths- changed files
1 file, 2 additions, 20 deletions
Changed files
config.fish (7095) → config.fish (6607)
diff --git a/config.fish b/config.fish
index 9077d25..c2f0ff3 100644
--- a/config.fish
+++ b/config.fish
@@ -70,31 +70,13 @@ prepend_to_path ~/.cargo/bin
prepend_to_path /Library/Frameworks/Python.framework/Versions/3.13/bin
# Paths for Ruby and bundler
-#
-# These paths are different for Intel/Apple Silicon Macs.
prepend_to_path /opt/homebrew/bin
prepend_to_path /opt/homebrew/opt/ruby/bin
prepend_to_path /opt/homebrew/lib/ruby/gems/3.3.0/bin
-
-
# Prepend any Homebrew-related directories to my PATH variable.
-#
-# Note that Homebrew installs into different directories depending on
-# whether you're on an Intel or Apple Silicon Mac. Eventually I can
-# delete this when I get rid of my last Intel Mac, but until then
-# I want to make sure I have the same paths on both machines.
-#
-# See https://docs.brew.sh/Installation
-
-if test (uname -m) = "arm64"
- set HOMEBREW_PREFIX /opt/homebrew
-else
- set HOMEBREW_PREFIX /usr/local
-end
-
-prepend_to_path $HOMEBREW_PREFIX/bin
-prepend_to_path $HOMEBREW_PREFIX/opt/ruby/bin
+prepend_to_path /opt/homebrew/bin
+prepend_to_path /opt/homebrew/opt/ruby/bin
# This prevents me from installing packages with pip without being