Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command 'code' not found in integrated terminal #10689

Open
Keller18306 opened this issue Feb 10, 2025 · 0 comments
Open

Command 'code' not found in integrated terminal #10689

Keller18306 opened this issue Feb 10, 2025 · 0 comments

Comments

@Keller18306
Copy link

Type: Bug

If you only install vscode server on a clean machine, the command will be available. However, if you restart vscode-server, it stops working (disappears from PATH).

As I understand, vscode-server is not registered in the system PATH during installation, perhaps this is the reason.

This means that the command [[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path bash)" is not executed. And since it was not executed, it means that some functions of the integrated terminal do not work (I needed the env.path extension from settings.json)

Extension version: 0.117.0
VS Code version: Code 1.97.0 (33fc5a94a3f99ebe7087e8fe79fbe1d37a251016, 2025-02-04T22:41:26.688Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 6.1.0-30-amd64

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12650H (16 x 2688)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.71GB (2.53GB free)
Process Argv
Screen Reader no
VM 25%
Item Value
Remote SSH: Server
OS Linux x64 6.1.0-30-amd64
CPUs Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz (32 x 0)
Memory (System) 7.74GB (4.81GB free)
VM 0%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant