vercel / hyper

A terminal built on web technologies

Home Page:https://hyper.is

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash syntax error: unexpected end of file; Hyper-3.2.3.AppImage on Fedora 36 Silverblue

samjcarter opened this issue · comments

OS

Fedora Silverblue 36 Version: 36.20220519.0

Disclaimer: Fedora Silverblue is immutable. Some directories cannot be written to. I'm new to the OS and not sure if the error described here is a result of the nature of Silverblue or Hyper. The Gnome Terminal app included with Silverblue does not show the same error.

Setup

I downloaded Hyper-3.2.3.AppImage from https://hyper.is/#installation and chmod +x Hyper-3.2.3.AppImage .

Reproduce Error

When opening Hyper, a bash error is displayed:

bash: which: line 1: syntax error: unexpected end of file
bash: error importing function definition for `which'
/usr/bin/sh: which: line 1: syntax error: unexpected end of file
/usr/bin/sh: error importing function definition for `which'
/usr/bin/sh: which: line 1: syntax error: unexpected end of file
/usr/bin/sh: error importing function definition for `which'
/usr/bin/sh: which: line 1: syntax error: unexpected end of file
/usr/bin/sh: error importing function definition for `which'
[user@fedora ~]$ 

Run clear to remove the error output and continue running commands as normal. I'm not sure if a command running later could break as a result of this error.

The error output returns if you reload Hyper with Ctrl+Shift+F5 or going to the Menu and selecting View > Full Reload. Then you can clear it again and continue.

Expected Behaviour

No bash error displayed upon opening or refreshing Hyper.

[user@fedora ~]$ 

I get this on the standard Fedora 35 and 36 distributions as well, so this isn't specific to silverblue.

This error does not occur in 3.2.0, And seems to have been introduced in 3.2.1

I'm getting this too with the 3.4.1 version on AlmaLinux