From owner-freebsd-questions Thu Sep 6 10:54: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lila.inti.gov.ar (lila.inti.gov.ar [200.10.161.32]) by hub.freebsd.org (Postfix) with ESMTP id 9020437B401 for ; Thu, 6 Sep 2001 10:53:55 -0700 (PDT) Received: from nav.inti.gov.ar ([200.10.161.45]) by lila.inti.gov.ar with smtp (Exim 3.02 #1) id 15f3Ld-0000Qs-00 for questions@freebsd.org; Thu, 06 Sep 2001 14:53:53 -0300 Received: from iib005.iib.unsam.edu.ar ([200.3.113.15]) by NAV.inti.gov.ar (NAVGW 2.5.1.12) with SMTP id M2001090614580932088 ; Thu, 06 Sep 2001 14:58:09 -0300 Received: (from fernan@localhost) by iib005.iib.unsam.edu.ar (8.11.3/8.11.3) id f86Hrpt04196; Thu, 6 Sep 2001 14:53:51 -0300 (ART) (envelope-from fernan) Date: Thu, 6 Sep 2001 14:53:51 -0300 From: Fernan Aguero To: Dru , Jose Cc: questions@freebsd.org Subject: Re: .cshrc not being used? Message-ID: <20010906145351.F2088@iib005.iib.unsam.edu.ar> Mail-Followup-To: Dru , Jose , questions@freebsd.org References: <20010906120239.B2088@iib005.iib.unsam.edu.ar> <20010906111359.D27882-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20010906111359.D27882-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>; from genisis@istar.ca on Thu, Sep 06, 2001 at 11:15:12AM -0400 X-PGP-Key: http://genoma.unsam.edu.ar/~fernan/pubkey.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG +----[ Dru (genisis@istar.ca) dijo sobre "Re: .cshrc not being used?": | | On Thu, 6 Sep 2001, Fernan Aguero wrote: | | > I made some changes to my .cshrc to add some new environment variables | > and add new paths to PATH. Strange enough, nothing works. Seems that | > .cshrc is not being read. | > | > This also happens with the root account. | > | > Both root and I have /bin/csh as the shell in /etc/passwd | > Both .cshrc files are -rw-r--r-- | > | > Any reason for this? | | Hi Fernan, | | Did you either logoff and back in or do a: | | source .cshrc | | Dru | +----] Thanks Dru and José for your replies. For some reason my personal ~/.cshrc is not read/used. Apparently the one that's being used is /etc/csh.cshrc. Strangely /etc/csh.cshrc is an empty file: # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ # # System-wide .cshrc file for csh(1). However if I add something like echo "this is /etc/csh.cshrc" I can see that this is the file being read/used in my xterm. Anyone know how can i get my ~/.cshrc to be read? Is it something wrong with my setup that I need to change or can I safely add a 'source ~/.cshrc' line to /etc/csh.cshrc? Fernan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message