Skip to content

Terminal does not load user paths or env variables #226

Description

@tvarwig
  • code-server version:1.32.0-245
  • OS Version: Ubuntu 18.04

Description

Custom binary paths are not loading from the users .profile or /etc/profile on ubuntu. For example, I have go installed on the ubuntu machine. In my ~/.profile, I have the path to export PATH=$GOPATH/bin:$GOROOT/bin:$PATH. On a standard ssh terminal the go binary loads. The terminal in VSCode does not load any custom paths. I have to run source ~/.profile. This has to be done on each load of a new terminal.

Steps to Reproduce

  1. go -- Output Command 'go' not found,
  2. source ~/.profile
  3. go version -- Output: go version go1.12 linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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