vercel / vercel/hyper

git commands is no longer working in hyper

Open
#3,558 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

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10 Version 1809
  • Hyper.app version: 2.1.2
  • Link of the Gist with the contents of my .hyper.js file.
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app:

Issue

I downloaded and installed git and included the following in my hyper.js file

shell: 'C:\\Program Files\\Git\\git-cmd.exe',

It worked after reopening hyper, but after restarting my computer git commands no longer work.

If I type git init I get the following

git: 'init /k cd' is not a git command. See 'git --help'.

also the following code that I used to specify the default directory no longer works either.

shellArgs: ['/K', 'cd /d C:\\Users\\UserName\\Documents'],

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

The issue identifies Hyper.app's shell and shellArgs settings and provides a Windows 10 reproduction using git-cmd.exe. Start by reproducing the failure after a restart, then trace how those settings are parsed and passed to the shell. Done means git init works and the configured default directory is restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell, typescript
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.