Commit Graph

4 Commits

Author SHA1 Message Date
Jilles Tjoelker
4ae95455e0 skel/.shrc: Improve commented CDPATH example for POSIX requirements.
POSIX says an empty entry in CDPATH shall not result in the new directory
being printed, while any non-empty entry shall result in the new directory
being printed, including ".". Therefore, the value of CDPATH should almost
always start with a colon, not dot and colon.

Our sh does not print the name for empty entries as well as "." entries.

MFC after:	1 week
2011-06-10 13:47:11 +00:00
Juli Mallett
698f822d6d Turn on emacs line editing mode by default, as this is what most shells do
these days, and the average user expects ^A and arrow keys to work, however
if they know nothing of editing modes, they will think sh(1) just sucks.  It
is likely that because of defaults on most systems and with most shells that
anyone who actually wants vi(1) editing mode will have 'set -o vi'.  This
won't affect existing accounts, this way, of course.  Only accounts with
.shrc from new etc/skel will be affected.  This is much better than making
the change in sh(1).
2002-07-23 12:28:16 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Wolfram Schneider
386e883716 Move aliases and shell flags from .profile to .shrc so these settings
are effective in interactive non-login shells, e.g. xterm or su(1).

Submitted by: Wolfgang Helbig <helbig@ba-stuttgart.de>
Finally close PR #3740
1997-08-03 18:37:46 +00:00