vercel / vercel/hyper

$SHELL still does not change while using with other shells

Open
#3,795 3 comments 1 reaction 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

Looks like this issue was treated at https://github.com/zeit/hyper/issues/629 but still happening at latest published version

Issue

After a fresh hyper installation, try to change to zsh with chsh -s /bin/zsh and change on .hyper.js (REF GIST) it still unable to change $SHELL to zsh:

echo $SHELL /bin/bash

echo $0 /bin/zsh

If you start default terminal app it is changed to /bin/zsh correctly.
Can we revisit this issue as it still happening to some users?

Thank you

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

Start with the .hyper.js configuration and the linked gist, then reproduce the difference between $SHELL and $0 after selecting zsh with chsh. Trace Hyper's shell-launch environment handling; done means a zsh session reports the expected shell consistently, matching the default terminal behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, typescript
Domain
cli, operating-systems
Issue type
Bug
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.