From owner-freebsd-questions@FreeBSD.ORG Thu Sep 27 05:08:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C06FD106564A for ; Thu, 27 Sep 2012 05:08:29 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 716558FC15 for ; Thu, 27 Sep 2012 05:08:29 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id q8R58XEp070114 for ; Wed, 26 Sep 2012 23:08:33 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <5063DF4B.1060904@dreamchaser.org> Date: Wed, 26 Sep 2012 23:08:27 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120609 Thunderbird/13.0 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 26 Sep 2012 23:08:34 -0600 (MDT) Subject: trouble getting .shrc to take X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2012 05:08:29 -0000 Having set my shell to either sh or bash, I can't seem to get .shrc to take. If I have a .shrc that looks like: PROMPT_DIRTRIM=3; export PROMPT_DIRTRIM PS1=\\w$ ; export PS1 PS1 is not defined when I log in, and the prompt is set to the default instead. If I do ./.shrc nothing seems to change; although executing the above commands from the shell itself works. What am I missing?