sh_shell_prompt

This commit is contained in:
Marc Beninca 2024-11-19 16:40:11 +01:00
parent aa1226f8f4
commit 321d55a823
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,4 +1,4 @@
PS1="\$(shell_prompt \${?})" PS1="\$(sh_shell_prompt \${?})"
PS2="\ PS2="\
" "
@ -58,7 +58,7 @@ shell_configure() {
} }
shell_configure shell_configure
shell_prompt() { sh_shell_prompt() {
local date host id local date host id
local code="${1}" local code="${1}"
date="$(date +%H:%M:%S)" date="$(date +%H:%M:%S)"