Files

7 lines
307 B
Bash
Executable File

#!/bin/sh
# Run tn under the global (lts) node, bypassing the mise shim which
# would otherwise resolve node from the current directory's pin.
# Also handles tn-fzf: symlink it to this script; dispatches on $0.
bin="$HOME/.local/share/mise/installs/node/lts/bin"
PATH="$bin:$PATH" exec "$bin/${0##*/}" "$@"