Sebastian Andil
Sebastian Andil
`PATH`: ```sh /usr/local/sbin:/Users/selrond/Library/Caches/fnm_multishells/85078_1644225259663/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin ``` `hash -t node` throws `hash: bad option: -t`
thx, here it is: `hash node=/Users/selrond/Library/Caches/fnm_multishells/4390_1644223494403/bin/node`
@alexeyten do you know of a solution to this problem?
> I need to check why this is happening. It did not happen to me and I'm using Zsh, maybe that's a newer version and we need to fix fnm...
I’m no expert in zsh, so whatever works 😄 I’ve noticed a strange(?) behavior - once I run `rehash` once in a terminal session, it seems to be working (tried...
However, [this](https://github.com/Schniz/fnm/issues/583#issuecomment-976457223) is no longer a case: > when I launch VSCode from the terminal, (so it uses the proper node version) and check the node version from within it...
I’ve solved the VSCode problem by not running its terminal as a login shell, so that’s out of question. Only the rehash-needed problem remains
I’ve "solved" it for now by uninstalling system nodejs (installed via homebrew). Not exactly happy with the solution, but it seems to work. Really weird, I’ve never came across `rehash`...
@lumio have you come up with something?
@yiochen how's it going?