win3-resources/scripts/gpd-prompt

6 lines
186 B
Plaintext
Raw Normal View History

function set_gpd_prompt() {
export PS1="\[\e[1;32m\]\h ($(tdp check | cut -d ' ' -f3))\[\e[m\] - \[\e[1;31m\]\u\[\e[m\] - \[\e[1;34m\]\W\[\e[m\] \\$ "
}
PROMPT_COMMAND=set_gpd_prompt