Skip to content

Expand ~ from config #7051

Open
Open
@ForteDexe

Description

@ForteDexe

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Vivaldi
  • Local OS: Ubuntu 24.10
  • Remote OS: Ubuntu 24.10
  • Remote Architecture: amd64
  • code-server --version: 4.93.1 69df011 with Code 1.93.1

Steps to Reproduce

  1. add this user-data-dir: ~/.config/code-server-data to config.yaml
  2. run command code-server

Expected

~/.config/code-server-data

Actual

But in the web browser, it will be:

~/~/.config/code-server-data

Note

I get it now, depends on where the current directory in the terminal is, code-server will use the current directory plus user-data-dir

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions