Open LeoCatsune opened 1 year ago
Thanks for flagging this. Where does this happen in the UI? Or are you talking about the integrated terminal.
This is in the integrated terminal, from memory.
I was able to override this for my own session by running unset ARGV0
Wherever it is setting the ARGV0
is where the issue starts.
What is the purpose of this ARGV0
variable being set to the cursor application? Is it for the cursor command to pick up?
+1 just hit this too. unset ARGV
fixed it, but would be great not to have to do that.
Version: 0.25.1
VSCode Version: 1.85.1
Commit: 424d9aa49a015f43a2299e679576231a75a34fd0
Date: 2024-02-03T21:07:19.472Z
Electron: 25.9.7
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.5.0-15-generic
I still have this error. For now, a band-aid fix is adding the following to your ~/.bashrc
/ ~/.zshrc
/ config.fish
.
bash/zsh:
[[ "$TERM_PROGRAM" == "vscode" ]] && unset ARGV0
fish
string match -q "$TERM_PROGRAM" "vscode"
and unset ARGV0
This also happens when tasks are launched that run cargo and rust directly. Unsetting this from ~/.zshrc, etc doesn't work for me.
still happening in v0.40.0
still happening in v0.42.2
still happening in v0.42.2
I had the same issue in v0.42.3, unset ARGV0
fixed it.
I only get this on Ubuntu 24 Linux, when using macOS it is not a problem.
This affects virtual environments in python too. I get module not found error whereas it is clearly installed in the venv
For some reason,
ARGV0
gets overwritten when running commands, which affects several commands in the rust toolchain such ascargo
andrustup
.The same issue can be observed in similar situations at GitSquared/edex-ui#1124 and onivim/oni2#3830.