See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Terminal emulator & GRUB coloring
#11
Perhaps we could change some colors
Code:
leafpad $HOME/.bashrc
Them adding this to the end
Code:
if [ $USER = 'root' ]; then
    PS1="\[\033[01;31m\]$USER@$HOSTNAME\[\033[0;00m\] \[\033[01;32m\]\w\\$\[\033[0;00m\] "
else
    PS1="\[\033[01;33m\]$USER@$HOSTNAME\[\033[0;00m\] \[\033[01;32m\]\w\\$\[\033[0;00m\] "
fi
[Image: 3hlDmMC.png]
Perhaps white bold would better match the current theme
Code:
if [ $USER = 'root' ]; then
    #If user is root just print the hostname in yellow
    PS1="\[\033[01;33m\]$HOSTNAME\[\033[0;00m\] \[\033[01;32m\]\w\\$\[\033[0;00m\] "
else
    PS1="\[\033[01;97m\]$USER@$HOSTNAME\[\033[0;00m\] \[\033[01;32m\]\w\\$\[\033[0;00m\] "
fi


Reply


Messages In This Thread
[SOLVED] Terminal emulator & GRUB coloring - by arman1992 - 12-31-2014, 09:57 PM
Re: Terminal emulator & GRUB coloring - by altman - 12-31-2014, 10:47 PM
Re: Terminal emulator & GRUB coloring - by altman - 01-01-2015, 03:17 PM
Re: Terminal emulator & GRUB coloring - by banko - 01-01-2015, 04:30 PM
Re: Terminal emulator & GRUB coloring - by Valtam - 01-01-2015, 05:56 PM
Re: Terminal emulator & GRUB coloring - by arman1992 - 01-01-2015, 06:23 PM
Re: Terminal emulator & GRUB coloring - by Valtam - 01-02-2015, 04:33 AM
Re: Terminal emulator & GRUB coloring - by N4RPS - 01-02-2015, 02:51 PM
Re: [SOLVED] Terminal emulator & GRUB coloring - by misko_2083 - 05-04-2015, 02:15 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)