how to add a directory to your PATH https://jvns.ca/blog/2025/02/13/how-to-add-a-directory-to-your-path/
(no, not this one)
edit: this was the cursed trick: https://mastodon.social/@gnomon/111206929341206118
@gnomon @b0rk slightly less cursed but still hacky way i found on stackoverflow (https://stackoverflow.com/q/53264235) and have been using ever since:
echo ${PATH} > t1
<editor> t1
export PATH=$(cat t1)