Refactor `PS1` construction (in file `linux-resources/bashrc.d/prompt`) to use `PROMPT_COMMAND` instead of assigning `PS1` variable directly.