diff options
Diffstat (limited to 'userland')
| -rw-r--r-- | userland/minibox/utilities/sh/sh.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/userland/minibox/utilities/sh/sh.c b/userland/minibox/utilities/sh/sh.c index 3a29302..a2db331 100644 --- a/userland/minibox/utilities/sh/sh.c +++ b/userland/minibox/utilities/sh/sh.c @@ -141,7 +141,8 @@ int sh_main(int argc, char **argv) {    (void)argc;    (void)argv;    for (;;) { -    printf("/ : "); +    char buffer[256]; +    printf("%s : ", getcwd(buffer, 256));      char *line = get_line();      {        struct TOKEN *h = lex(line); |