# Automatically uses the package manager of current directory # Just type "start" or any other scripts fo your package.json file p() { if [[ -f bun.lockb ]]; then command bun "$@" elif [[ -f pnpm-lock.yaml ]]; then command pnpm "$@" elif [[ -f yarn.lock ]]; then command yarn "$@" elif [[ -f package-lock.json ]]; then command npm "$@" else command pnpm "$@" fi }