Hyper: Remove huge lines of username

Created on 18 Apr 2017  路  4Comments  路  Source: vercel/hyper

  • [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: 1.3.1
  • Link of a Gist with the contents of your .hyper.js: http://bit.ly/2pweRqK
  • Relevant information from devtools _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: Yes

Issue

My Hyper is connected with Bash on Windows and it really works well than expected. But now the only problem is that the username + path in the terminal nearly takes a line and it kind of feels akward for me.

capture

I want my Hyper Terminal to look something like this :

Capture

I searched everywhere, got into the core app but still i am unable to find a solution for this. Is there any kind of packages or hacks I could use to produce the result I wanted?

Question

Most helpful comment

Bash themes and Hyper themes are very different things. Hyper is the terminal emulator, and has no control over the prompt string (beyond what font it is rendered in). Bash is the shell program, and controls what your prompt string contains. In bash, your prompt string is determined by the PS1 environment variable. Bash-it is a series of bash functions that includes themes that change your prompt string. You should read up on it.

All 4 comments

There's ways to theme your Bash terminal. It's really nothing to do with Hyper itself.

Example: https://github.com/Bash-it/bash-it/wiki/Themes

@CodeTheory No matter what, I've tested multiple themes but still, there is no change to the theme itself. My terminal looks the same even after restart and reload.

Themes tested with :

This is how it looks with official material theme :

hyper

Bash themes and Hyper themes are very different things. Hyper is the terminal emulator, and has no control over the prompt string (beyond what font it is rendered in). Bash is the shell program, and controls what your prompt string contains. In bash, your prompt string is determined by the PS1 environment variable. Bash-it is a series of bash functions that includes themes that change your prompt string. You should read up on it.

@MartyGentillon Thanks a lot for making me understand

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbkaplun picture dbkaplun  路  3Comments

ghost picture ghost  路  3Comments

juicygoose picture juicygoose  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

stan-stripe picture stan-stripe  路  3Comments