Parent Directory | Revision Log | Revision Graph
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme - fix domain name displayed twice \H to \h [SME: 11389]
1 | # set prompt: ``username@hostname:/directory $ '' |
2 | |
3 | PS1="[\[\e[1;32m\]\u\[\e[m\]@\[\e[0;31m\]\h.$(dnsdomainname)\[\e[m\]:\[\e[0;33m\]\w\[\e[m\]]" |
4 | case `id -u` in |
5 | 0) PS1="${PS1}# ";; |
6 | *) PS1="${PS1}$ ";; |
7 | esac |
8 |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |