Hyper: Customizing my prompt?

Created on 15 Mar 2017  路  6Comments  路  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: macOS Sierra Version 10.12.3 (16D32)

  • Hyper.app version: Version 1.3.1 (1.3.1.1628)
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/istx25/c85c6e49b21dcf24219963bda0614df2
  • Relevant information from devtools _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: I think so?

Issue

Hi there,

I'm new to customizing my terminal (by myself/without someone just doing it for me) and I was wondering if someone could explain how I can change the "prompt" (though that may not be the correct terminology).

I would like to change:

Willows-MacBook-Pro:Desktop graysen$ 

to just say:

graysen ~/Desktop $ 

screen shot 2017-03-15 at 12 59 19 pm

Thanks in advance.

Question

Most helpful comment

I didn't know that, @iamstarkov. Thanks @ppot and @matheuss! I'll look into that.

All 6 comments

You need to update your PS1

thats nothing have to do with Hyper

@istx25 please google about customize PS1 bash 馃憣

I didn't know that, @iamstarkov. Thanks @ppot and @matheuss! I'll look into that.

@istx25 thats fine. sorry for being harsh a bit, didnt mean that, was in a hurry. sorry again

@iamstarkov alright. i'm brand new to this kind of customization so that's why I didn't know. happy that I got an answer quickly though. :) got the results I was after:

screen shot 2017-03-15 at 8 23 06 pm

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yvan-sraka picture yvan-sraka  路  3Comments

daenuprobst picture daenuprobst  路  3Comments

sarneeh picture sarneeh  路  3Comments

aem picture aem  路  3Comments

cooperpellaton picture cooperpellaton  路  3Comments