Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Wrong Node.js version displayed when using nvm.fish? #303

@lydell

Description

@lydell

Describe the bug

The prompt seems to always print the “system” Node.js version, not the one currently enabled via nvm.fish.

Sorry if this isn’t a problem with tide! I’ve looked around in the issue trackers of both tide and nvm.fish for a long time and I’m very confused at this point! Seems to have been much back and forth and some collaboration in this area.

Steps to reproduce

  1. I have installed Node.js 16.14.2 via brew.
  2. nvm install 18
  3. node -v now says v18.1.0
  4. But my prompt still says 16.14.2

Screenshots

image

Environment

Output of tide bug-report:

fish version: 3.4.1
tide version: 5.3.0
term: xterm-256color
os: macOS Monterey
terminal emulator: iTerm2
fish startup: 20.06 millis
fisher plugins: jorgebucaran/fisher IlanCosman/tide@v5 jorgebucaran/nvm.fish

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions