I have Nano installed as part of the Monterey install plus I have downloaded Nano with Homebrew. Now, I have 2 versions of Nanos:
~|⇒ where nano
/opt/homebrew/bin/nano
/usr/bin/nano
If I type "Nano" it goes to the binary which is located under /bin/
~|⇒ which nano
/usr/bin/nano
Is there a way I could tell my shell to use the binary that I installed with Homebrew and resides at /opt/homebrew/bin/nano when I type Nano? Instead of the one that came with the OS. I would like to avoid deleting the binary under bin. Not sure which mapping/pointing or linking service is responsible for this path mapping.