/[smecontribs]/rpms/advancedprompt/contribs10/coloured.sh
ViewVC logotype

Contents of /rpms/advancedprompt/contribs10/coloured.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Wed Feb 24 05:04:13 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: advancedprompt-0_1-4_el7_sme, HEAD
Changes since 1.1: +1 -1 lines
Content type: application/x-sh
Error occurred while calculating annotation data.
* 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 RSS 2.0 feed