Re: Global aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-10-13 at 23:55, John Hodges wrote:
> On Wed, 13 Oct 2004, Craig wrote:
> 
> > Please look closely at the /etc/bashrc file, you will notice that the file
> > starts as follows:
> >
> > # /etc/bashrc
> >
> > # System wide functions and aliases
> >
> > Trust me when I say that this IS where you put global aliases. It works for me
> > and all my friends who use both fedora/red hat and suse, no exceptions. Red
> > Hat may march to their own drum (which is absolute open source along with
> > their perception of how things should be) but they are still LSB compliant.
> >
> > Craig
> 
> Perhaps I didn't word my initial post properly. There is a file somewhere
> containing aliases with regards to various ls commands, and vi=vim. This
> latter especially I want to change. I had initially thought that aliases
> in ~/.bashrc would overwrite system-wide aliases of the same name, but
> that does not appear to be the case. Ditto for /etc/bashrc. Last night I
> tried 'grep -r ^alias /etc/.* >> somefile' It was still running when I
> woke up.
> 

try /etc/profile.d/vim.sh and /etc/profile.d/colorls.sh

> At any rate, I don't want anyone to break their heads over something so
> trivial. I'll just alias edit='\vi' or some such. I was just curious if
> anyone knew off the top of their head.
> 
> --
> J


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux