mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Change the default command prompts
This commit is contained in:
parent
ce9bdbb0bf
commit
82f2e758c7
6 changed files with 18 additions and 9 deletions
|
@ -5731,7 +5731,7 @@ retry:
|
|||
linenoiseSetFreeHintsCallback(free);
|
||||
linenoiseSetHintsCallback(ShellHint);
|
||||
linenoiseSetCompletionCallback(ShellCompletion);
|
||||
if ((p = linenoiseWithHistory("$ ", "unbourne"))) {
|
||||
if ((p = linenoiseWithHistory(">: ", "unbourne"))) {
|
||||
nr = min(strlen(p), IBUFSIZ - 2);
|
||||
memcpy(buf, p, nr);
|
||||
buf[nr++] = '\n';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue