.profile bash script to load in git keys (git-bash)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- [X ] I am on the latest Hyper.app version
- [X ] I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Windows 10
- Hyper.app version: 2.0.0
- Link of a Gist with the contents of your .hyper.js: https://gist.github.com/dy1zan/2b47e2fc2147955fe0430ebf6c3c6a4f
Issue
I am using git-bash, and have a bash script to add keys in. It works fine in regular git-bash. It seems like it executes the bash commands and then Hyper terminates as so it is finished. I get the error File or directory not found
#!/bin/bash
#if we can't find an agent, start one, and restart the script.
if [ -z "$SSH_AUTH_SOCK" ] ; then
exec ssh-agent bash -c "ssh-add ~/gitlab/gitlab ; $0"
exit
fi
It exists,
https://imgur.com/a/YaSkU6r
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked .hyper.js gist and reproduce the shown bash script in Hyper on Windows 10 using Git Bash. Check why the ssh-agent command ends with “File or directory not found” and Hyper marks the process finished. Done means the script runs in Hyper without terminating and loads the requested key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, git
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100