Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 15:33:57 -0500 (EST)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Grant Cooper <grant.cooper@nucleus.com>
Cc:        FreeBSD LIST <freebsd-questions@FreeBSD.ORG>
Subject:   Re: changing directory listing type
Message-ID:  <Pine.BSF.4.50.0211261530240.57009-100000@earl-grey.cloud9.net>
In-Reply-To: <00e201c2958a$8fd74330$040a0a0a@donatev49iknkl>
References:  <002301c29552$f4403260$0d0d4ba0@ozguro> <005c01c294d2$977fe6e0$0302a8c0@mike> <021701c294d4$c3583270$1200a8c0@gsicomp.on.ca> <002301c29552$f4403260$0d0d4ba0@ozguro> <3.0.5.32.20021126082135.010f3850@mail.sage-one.net> <00b601c29588$6ffba990$040a0a0a@donatev49iknkl> <00e201c2958a$8fd74330$040a0a0a@donatev49iknkl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Nov 2002, Grant Cooper wrote:
> ignore that, Just has to log off and re login.

You don't even have to log off and back on.  After you make a change to
your ~/.cshrc or ~/.tcshrc file, you can simply run `source ~/.cshrc`

The only problem you can run into is kind of meshing aliases together, for
example if you had three different aliases that do the same exact thing.

I have been a tcsh shell user for the past 10+ years so I'd be happy to
forward you parts of my ~/.cshrc with commentary about what each part does
if you are interested.

By the way, it doesn't hurt to use full paths in aliases.  That way you
don't get into circular stuff, for example, use this instead:

alias ls "/bin/ls -alG"

> ----- Original Message -----
> From: "Grant Cooper" <grant.cooper@nucleus.com>
> Cc: <freebsd-questions@FreeBSD.ORG>
> Sent: Tuesday, November 26, 2002 12:14 PM
> Subject: Re: changing directory listing type
>
> > > alias ls    ls -alG
> > I made the changes to my .cshrc but I had to reboot to make the changes=
?
> > Anyway to activate it without rebooting?
> >
> > I also added  alias ls=3D'ls -G' my /etc/profile but I couldn't get it =
to work
> > with 4.5. Do I have to activate this?
> >
> > ----- Original Message -----
> > From: "Jack L. Stone" <jackstone@sage-one.net>
> > To: "Ismail YENIGUL" <yenigul@rt.net.tr>; "=D6zg=FCr =D6zaslan"
> > <ozguro@ins.itu.edu.tr>
> > Cc: <freebsd-questions@FreeBSD.ORG>
> > Sent: Tuesday, November 26, 2002 6:21 AM
> > Subject: Re: changing directory listing type
> >
> > > At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote:
> > > >hi - try   "ls -G" or
> > > > install gnuls from ports /usr/ports/misc/gnuls and  and run ls --co=
lor
> > > >regard
> > > Easier yet, just add the following line in /etc/profile:
> > > # alias ls=3D'ls -G'
> > >
> > > Best regards,
> > > Jack L. Stone,
> > > Administrator
> > >
> > > SageOne Net
> > > http://www.sage-one.net
> > > jackstone@sage-one.net

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.50.0211261530240.57009-100000>