vercel / vercel/hyper

Support home-relative paths by expanding `~`

Open
#8,039 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
I'd like to be able to share my hyper config without having to customize it to each host, but due to corporate restrictions, my username must be different on these different hosts. Therefore, the shell configuration variable must necessarily be different on each machine. For example:

    shell: '\\Users\\jaraco\\.local\\bin\\xonsh.exe',
    shell: '\\Users\\jaraco2\\.local\\bin\\xonsh.exe',

If the hyper configuration would allow for home-relative paths, it would make it possible to declare this config in one way on both hosts:

    shell: '~\\.local\\bin\\xonsh.exe',

Describe the solution you'd like

For any config item that references a path, allow the path to contain ~ and expand it to the user's home directory.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by locating Hyper's configuration handling and the code that consumes path-valued settings, using the shell path example as an entry point. Done means supported path settings consistently expand a leading ~ to the current user's home directory without requiring host-specific usernames.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.