Terminal opens with "chruby: command not found" lines every time I open. How to remove them?
After deleting XCode, my Terminal window always opens with these lines:
-bash: /usr/local/opt/chruby/share/chruby/chruby.sh: No such file or directory
-bash: /usr/local/opt/chruby/share/chruby/auto.sh: No such file or directory
-bash: chruby: command not found
I actually have two sets of those lines: one probably from when I deleted XCode in the past (and on my old Macbook Pro), and the second from just now when I deleted XCode from my current Mac Mini. How do I remove these 6 lines from my terminal window? Is there some obscure file deep in the system I need to remove, or something?
Mac mini, macOS 14.7