Lines Matching defs:ps1
1439 (cur_prompt != PS1 || !ctype(*s->str, C_IFS | C_IFSWS))) {
1442 } else if (interactive && cur_prompt == PS1) {
1461 case PS1:
1470 char * volatile ps1;
1473 ps1 = str_val(global("PS1"));
1474 shf = shf_sopen(NULL, strlen(ps1) * 2,
1476 while (*ps1)
1477 if (*ps1 != '!' || *++ps1 == '!')
1478 shf_putchar(*ps1++, shf);
1482 ps1 = shf_sclose(shf);
1495 char *cp = substitute(ps1, 0);