Searched refs:PS1 (Results 1 – 4 of 4) sorted by relevance
19 CONFIG_PREBOOT="setenv hostname vining-${unit_serial} ; setenv PS1 \"${unit_ident} (${unit_serial})…
301 static char *PS1; variable947 PS1 = NULL; in cmdedit_set_initial_prompt()949 PS1 = env_get("PS1"); in cmdedit_set_initial_prompt()950 if(PS1==0) in cmdedit_set_initial_prompt()951 PS1 = "\\w \\$ "; in cmdedit_set_initial_prompt()961 free(PS1); in setup_prompt_string()962 PS1=xmalloc(strlen(cwd)+4); in setup_prompt_string()963 sprintf(PS1, "%s %s", cwd, ( geteuid() != 0 ) ? "$ ":"# "); in setup_prompt_string()964 *prompt_str = PS1; in setup_prompt_string()969 *prompt_str = (promptmode==1)? PS1 : PS2; in setup_prompt_string()[all …]
348 PS1, enumerator
1953 The string is obtained from environment variables PS1
Completed in 18 milliseconds