Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 23:08:27 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   trouble getting .shrc to take
Message-ID:  <5063DF4B.1060904@dreamchaser.org>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5063DF4B.1060904>