Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyper Terminal is showing ~% instead of $

After restarting my Mac which is running on MacOs Catalina 10.15.3, Hyper shows

username@MacBook-Air ~ %

instead of the regular $. Why is that and what does the percentage symbol mean?

Im also not able to check the version of my hyper using the command line, see below:

username@MacBook-Air ~ % hyper --version

The option "version" is unknown. Here's a list of all available options:

Usage: hyper [options] [command]

Commands:

<default>                    Launch Hyper
d, docs, h, home             Open the npm page of a plugin
help                         Display help
i, install                   Install a plugin
ls, list                     List installed plugins
lsr, list-remote, ls-remote  List plugins available on npm
s, search                    Search for plugins on npm
u, uninstall, rm, remove     Uninstall a plugin
version                      Show the version of hyper

Options:

-h, --help     Output usage information
-v, --verbose  Verbose mode (disabled by default)

Thanks!

like image 372
bmc Avatar asked Jun 27 '20 07:06

bmc


People also ask

What is the difference between hyper terminal and Windows Terminal?

Hyper Terminal and Windows Terminal are both open source tools. Windows Terminal with 48.6K GitHub stars and 4.71K forks on GitHub appears to be more popular than Hyper Terminal with 30.3K GitHub stars and 2.48K GitHub forks. Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare. What is Hyper Terminal?

What does the percent sign mean in hyper terminal?

6 The percent sign does not have a particular meaning. It has not much to do with Hyper Terminal, but with the shell you use (bash or zsh). Usually bash uses $, whereas zsh uses %. Take a look at: Google: bash+zsh+prompt Share Improve this answer Follow edited Jan 29 '21 at 14:51 Greenonline

Is there a hyper command on GitHub?

'hyper' is not recognized as an internal or external command, operable program or batch file. · Issue #2974 · vercel/hyper · GitHub Sign up for free to join this conversation on GitHub .

What will Windows Terminal focus on?

Focus will be primarily around speed and stability; Windows Terminal: Productive terminal application for command-line users. A new, modern, feature-rich, productive terminal application for command-line users.


Video Answer


2 Answers

The percent sign does not have a particular meaning.

It has not much to do with Hyper Terminal, but with the shell you use (bash or zsh).

Usually bash uses $, whereas zsh uses %.

Take a look at: Google: bash+zsh+prompt

like image 53
Philippe Avatar answered Oct 22 '22 04:10

Philippe


Found this answer on medium.com's article "Customize the MacOS Terminal":

"As of 2019, macOS Catalina has adopted Z Shell, or zsh for short, as the default login shell. Z Shell is a Unix shell that acts as an interactive login shell and command line interpreter for shell scripting."

https://medium.com/dev-genius/customize-the-macos-terminal-zsh-4cb387e4f447

like image 2
Gio Avatar answered Oct 22 '22 02:10

Gio