Skip to content

Fish shell: PATH order check warning when installed in conf.d/vite-plus.fish #1112

@Loongphy

Description

@Loongphy

Describe the bug

Image

On my system, Vite+ installed this file: ~/.config/fish/conf.d/vite-plus.fish

# Vite+ bin (https://viteplus.dev)
source "$HOME/.vite-plus/env.fish"

However, vp env doctor reports:

⚠ vp in PATH at position 1
note: For best results, bin should be first in PATH.

If I put:

source "$HOME/.vite-plus/env.fish"

near the end of ~/.config/fish/config.fish, the warning disappears and vp works as expected.

Reproduction

null

Steps to reproduce

Run vp env doctor

System Info

VITE+ - The Unified Toolchain for the Web

Environment:
  Version  24.14.0
  Source   lts

Tool Paths:
  node  /root/.vite-plus/js_runtime/node/24.14.0/bin/node
  npm   /root/.vite-plus/js_runtime/node/24.14.0/bin/npm
  npx   /root/.vite-plus/js_runtime/node/24.14.0/bin/npx



VITE+ - The Unified Toolchain for the Web

vp v0.1.13

Local vite-plus:
  vite-plus  Not found

Tools:
  vite             Not found
  rolldown         Not found
  vitest           Not found
  oxfmt            Not found
  oxlint           Not found
  oxlint-tsgolint  Not found
  tsdown           Not found

Environment:
  Package manager  Not found
  Node.js          v24.14.0

Used Package Manager

npm

Logs

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions