Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!hermes.oc.com!news.unt.edu!cs.utexas.edu!academ!bcm.tmc.edu!news.msfc.nasa.gov!newsfeed.internetmci.com!in1.uu.net!usc!ccnet.com!usenet From: gbernard@dbc.com (Greg Bernard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: aliases/colorstr in bash Date: Tue, 30 Jan 1996 22:08:42 GMT Organization: CCnet Communications (510-988-7140 guest) Lines: 25 Message-ID: <4em58e$49u@ccnet2.ccnet.com> NNTP-Posting-Host: 199.217.9.49 Quick question here. I installed bash and colorls on my system, and configured /etc/passwd so that bash is my default shell. I then added an alias in my .profile file alias ls='/usr/local/sbin/colorls -F -G' so that ls will user colorls. However, when I log in, this is not the case, the listings are all monocolor. If I then type the above in at the prompt, it works. How can I configure .profile to always alias the command? BTW, if I just type alias at the prompt, it does not show me the ls alias. This is FreeBSD 2.0.5. TIA TIA. gb Greg Bernard Data Broadcasting Corp. gbernard@dbc.com 1900 S. Norfolk St. All opionions, if I had any, are my own. San Mateo, CA 94404