Prev: KDE base and desktop on 11.2
Next: Work at Home - Earn 20,000 Weekly Without Investment Its Not A Fake, 100% Earning Guarantee
From: Kevin Nathan on 7 Mar 2010 15:19 On Sun, 7 Mar 2010 09:22:27 +0100 houghi <houghi(a)houghi.org.invalid> wrote: >Kevin Nathan wrote: >> The only split I make in the BASH prompt is between root user (red >> user(a)host, blue pwd) and a normal user (green user(a)host, blue pwd) > >Now root is in red by default. > I verified that it was Gentoo that had the two-color prompts. It's just personal preference, really, but I was glad to see openSUSE adopt at least a color change between normal and root users -- however, I like the two-color prompts best. >>>And on each machine I just change the $BLUE part. >> >> I like the different colors for different servers but, with 30+ >> servers I am sure I would never keep them straight! :-) > >That is why I stated I only had 4. :-D > >> However, that gives me >> an idea: I could make my local machine use light red and light green >> instead of red and green. Hmmm... > >Indeed grouping them would be handy. > I was also thinking of coding them by use: firewall, DNS, mail, web and database servers. But I seldom work on any but the web/database servers (which are usually combined, anyway) so I wouldn't gain too much... >Or chsnge the background. I used to use different backgrounds, but it got difficult to see some of the DIR_COLORS color combinations that way. I now stick to black backgrounds just to keep it simple. :-) >That way you only need one version of /etc/bash.bashrc.local that you >can copy to all the other machines. > That, of course, works fine on my home machines but most of the servers at each co-location are Gentoo. One firewall is still openSUSE but the boss hates Novell and will change that server as soon as he can. :-) Gentoo does not appear to use the concept of '.local' files, at least from my very limited knowledge of it... :-) -- Kevin Nathan (Arizona, USA) Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline) Open standards. Open source. Open minds. The command line is the front line. Linux 2.6.31.12-0.1-default 12:52pm up 9 days 22:58, 18 users, load average: 0.04, 0.08, 0.05
From: Kevin Nathan on 10 Mar 2010 13:22
On Sun, 7 Mar 2010 23:33:59 +0100 houghi <houghi(a)houghi.org.invalid> wrote: > >You would gain a LOT. Especially if you suddenly see a colour that you >seldom see, you will be aware of the fact you are on a differnt type of >server. So especially with seldom used servers will it be usefull. > That's a good point! :-) >> That, of course, works fine on my home machines but most of the >> servers at each co-location are Gentoo. One firewall is still >> openSUSE but the boss hates Novell and will change that server as >> soon as he can. :-) Gentoo does not appear to use the concept of >> '.local' files, at least from my very limited knowledge of it... :-) > >Just make the .local file and add the fact it needs to look for the >.local file to the standard file. ;-) > But that misses the point of the distro *knowing* about .local files. Yes, I could make that change but the next update would wipe out my changes to the 'standard' files. That's why I like openSUSE's (and other distros, I am sure) method of providing for .local files -- my local changes don't get wiped out on an upgrade... :-) -- Kevin Nathan (Arizona, USA) Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline) Open standards. Open source. Open minds. The command line is the front line. Linux 2.6.31.12-0.1-default 11:18am up 12 days 21:24, 16 users, load average: 0.24, 0.13, 0.10 |