vercel / vercel/hyper

Can't start terminal with tmux

Open
#6,604 1 comment 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

  • Your Hyper.app version is 3.2.3. Please verify you're using the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

  • Any relevant information from devtools? (CMD+OPTION+I on macOS, CTRL+SHIFT+I elsewhere):
  • Is the issue reproducible in vanilla Hyper.app?

Issue

Can't start terminal with default shell tmux /opt/homebrew/bin/tmux in macOS. It looks blocked, but it will work after opening another new tab with command + T.

If I change the default shell to /bin/zsh with chsh, and keep the config "shell": "/opt/homebrew/bin/tmux" at .hyper.js, Hyper.app can open the terminal normally.

How could I make it work with default shell tmux not zsh?

image

image

image


  • Hyper version: undefined "3.2.3"
  • OS ARCH VERSION: darwin arm64 21.1.0
  • Electron: 17.2.0 LANG: undefined
  • SHELL: /opt/homebrew/bin/tmux TERM: undefined
.hyper.js contents
{
  "updateChannel": "stable",
  "fontSize": 15,
  "fontFamily": "\"Source Code Pro for Powerline\", Menlo, \"DejaVu Sans Mono\", Consolas, \"Lucida Console\", monospace",
  "fontWeight": "normal",
  "fontWeightBold": "bold",
  "lineHeight": 1,
  "letterSpacing": 0,
  "cursorColor": "rgba(248,28,229,0.8)",
  "cursorAccentColor": "#000",
  "cursorShape": "BLOCK",
  "cursorBlink": false,
  "foregroundColor": "#fff",
  "backgroundColor": "#000",
  "selectionColor": "rgba(248,28,229,0.3)",
  "borderColor": "#333",
  "css": "",
  "termCSS": "",
  "workingDirectory": "",
  "showHamburgerMenu": "",
  "showWindowControls": "",
  "padding": "12px 14px",
  "colors": {
    "black": "#000000",
    "red": "#C51E14",
    "green": "#1DC121",
    "yellow": "#C7C329",
    "blue": "#0A2FC4",
    "magenta": "#C839C5",
    "cyan": "#20C5C6",
    "white": "#C7C7C7",
    "lightBlack": "#686868",
    "lightRed": "#FD6F6B",
    "lightGreen": "#67F86F",
    "lightYellow": "#FFFA72",
    "lightBlue": "#6A76FB",
    "lightMagenta": "#FD7CFC",
    "lightCyan": "#68FDFE",
    "lightWhite": "#FFFFFF",
    "limeGreen": "#32CD32",
    "lightCoral": "#F08080"
  },
  "shell": "/opt/homebrew/bin/tmux",
  "shellArgs": [
    "-D"
  ],
  "env": {},
  "bell": "SOUND",
  "copyOnSelect": true,
  "defaultSSHApp": true,
  "quickEdit": false,
  "macOptionSelectionMode": "vertical",
  "webGLRenderer": true,
  "webLinksActivationKey": "",
  "disableLigatures": true,
  "disableAutoUpdates": true,
  "screenReaderMode": false,
  "preserveCWD": true
}
plugins
{
  "plugins": [
    "hyper-solarized-dark",
    "hyper-search",
    "hyperpower"
  ],
  "localPlugins": []
}

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 by reproducing the issue on macOS arm64 with Hyper 3.2.3, the .hyper.js shell set to /opt/homebrew/bin/tmux, and shellArgs set to -D. Inspect the terminal startup path and verify that a new Hyper window can launch tmux directly without requiring another tab to be opened; completion means the configured terminal starts normally on first launch.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, macos, typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.