/[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.1 - (show annotations) (download) (as text)
Sun Oct 18 07:40:21 2020 UTC (4 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: advancedprompt-0_1-3_el7_sme
Content type: application/x-sh
Initial import

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