ilovesoup / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

color prompt and saved history in hyracks-cli #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Here is a patch to hyracks-cli that adds color to the prompt and saves the 
command history in a file.

Prompt color can be enabled by starting hyracks-cli with the "-color-enable" 
argument. The prompt color can be configured using "-color-prompt" argument.

History is saved by default in the ".hyracks-cli_history" file in the user's 
home directory. History is automatically loaded on startup. If the history file 
cannot be created or is not accessible this feature is disabled silently.

Original issue reported on code.google.com by rvernica on 24 Jun 2011 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago
Ray,

Can you check the behavior of this patch on Windows too?

Thanks.

Original comment by vinay...@gmail.com on 1 Aug 2011 at 9:15

GoogleCodeExporter commented 9 years ago
Unfortunately, I don't have a Windows setup. Yingyi might be able to try it.

Original comment by rvernica on 1 Aug 2011 at 9:44