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

Diff of /rpms/advancedprompt/contribs9/coloured.sh

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

Revision 1.1 by jpp, Mon Nov 20 23:19:34 2017 UTC Revision 1.2 by jpp, Tue Nov 21 00:21:49 2017 UTC
# Line 1  Line 1 
1  # set prompt: ``username@hostname:/directory $ ''  # 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\]]"  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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed