with icon indicating copy to clipboard operation
with copied to clipboard

Add support for a custom prompt

Open jjvvx opened this issue 9 years ago • 3 comments

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.

jjvvx avatar Aug 17 '16 19:08 jjvvx

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

mchav avatar Aug 17 '16 19:08 mchav

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.

jjvvx avatar Aug 17 '16 19:08 jjvvx

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

mchav avatar Aug 19 '16 22:08 mchav