By default, bash hashes the location of executables you call the first time you run them. This means that if you place a different version with the same name at some location in your $PATH even with higher precedence, you'll still get the first one by default. You can toggle this off with set +h.
I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
By default,
bash
hashes the location of executables you call the first time you run them. This means that if you place a different version with the same name at some location in your$PATH
even with higher precedence, you'll still get the first one by default. You can toggle this off withset +h
.TIL!