Re: env.d
Chad Huneycutt <[email protected]> Tue, 29 Oct 2002 13:16:25 -0500
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Organization | Georgia Tech College of Computing |
| Message-ID | <[email protected]> |
On Tue, 29 Oct 2002 12:06:37 +0200 Pieter Breed <[email protected]> wrote: > How do I set system wide aliases? For example: I have gotten used to > alias ll="ls --aolor=auto -lp" There is not a standard location. The easiest place to put it is in /etc/profile. However, as with all system-wide changes, you might want to think about whether or not every user of your system would want this alias. I recommend adding it to /etc/skel/.bashrc (the files that all new users get copied into their home directories when their accounts are created) and then to your root and user startup files, too. I personally keep a ~/.aliases file and source it in my ~/.bashrc. > Another thing. My (KDE) konsole doesn show the green & blue prompt > like a console login does. It shows the default bash prompt (ugly...) > sh-2.05a$ This drives me nuts, too. What you want to do is have konsole start with the --ls option. bash is supposed to source a subset of your login files even when you start a non-login shell, but it doesn't seem to. Another problem I ran into when trying to get konsole to start with --ls is that I was unable to change the properties of konsole when launched from the launch bar. I had to create an icon on the desktop which starts "konsole --ls %i %m". YMMV -- Chad Huneycutt