summaryrefslogtreecommitdiffstats
path: root/share/skel/dot.shrc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312721: skel: Remove reference to deleted part in previous commitjilles2017-02-051-2/+2
| | | | to this file.
* MFC r312230: skel: Do not set -o emacs in .shrc.jilles2017-01-221-4/+0
| | | | | | | | | sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set this again in .shrc, since that only serves to prevent invocations like 'sh -o vi' and 'sh +o emacs' to have the intended effect. PR: 215958 Submitted by: Andras Farkas
* skel/.shrc: Improve commented CDPATH example for POSIX requirements.jilles2011-06-101-1/+1
| | | | | | | | | | | 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
* Turn on emacs line editing mode by default, as this is what most shells dojmallett2002-07-231-3/+7
| | | | | | | | | | 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).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Move aliases and shell flags from .profile to .shrc so these settingswosch1997-08-031-0/+43
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
OpenPOWER on IntegriCloud