Skip to content

Source $HOME/.gvm/scripts/gvm and getscode command not found #515

@ducminhgd

Description

@ducminhgd

What I use

  • Windows WSL2 Ubuntu
  • Go Version Manager v1.0.22
  • zsh 5.9 (x86_64-ubuntu-linux-gnu)
  • Oh-My-Zsh version master (a6beb0f)
  • VSCode
    • Version: 1.102.3 (user setup)
    • Commit: 488a1f239235055e34e673291fb8d8c810886f81
    • Date: 2025-07-29T03:00:23.339Z
    • Electron: 35.6.0
    • ElectronBuildId: 11847422
    • Chromium: 134.0.6998.205
    • Node.js: 22.15.1
    • V8: 13.4.114.21-electron.0
    • OS: Windows_NT x64 10.0.26100

Issue

In my ~/.zshrc, if I add source $HOME/.gvm/scripts/gvm line in, and I use code command in a terminal, I get this error

code .
zsh: command not found: code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions