Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a custom prompt #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add support for a custom prompt #11

wants to merge 1 commit into from

Conversation

jjvvx
Copy link

@jjvvx jjvvx commented Aug 17, 2016

I'm really new to Bash, but the code works just fine on my end. Tried all the advertised features on the README with a custom prompt and it works just fine.

@mchav
Copy link
Owner

mchav commented Aug 17, 2016

Great idea. I was going to get around to this. Could you give an example of how to set and unset the prompt?

@mchav mchav closed this Aug 17, 2016
@mchav mchav reopened this Aug 17, 2016
@jjvvx
Copy link
Author

jjvvx commented Aug 17, 2016

Could you give an example of how to set and unset the prompt?

It's an environment variable. You can set and unset it with export WITH_PROMPT="prompt goes here". The default would look like "%c>" where%c` is the command being evaluated.

@mchav
Copy link
Owner

mchav commented Aug 19, 2016

Alright. Let's get this merged with the updated code base and then merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants