History log of /freebsd-current/share/skel/dot.shrc
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# f3aad18d 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

sh(1): fix home/del key on mobaxterm env

For $reason mobaxterm default on sending unusual sequence from home/del
key, which makes libedit unabel to catch them and bind them correctly.

mobaxterm seems popular on the windows environment, so add proper
keybinding to default shrc configuration so it works out of box.

Reported by: lme


# 5fe97373 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

skel: update .shrc as well

Somehow we end up having 2 definition of the same .shrc in the source
tree, both of them should have been updated.

A batter fix would be to only keep one copy of the same file. but that
would be for another commit

Reported by: lme


# d81ca439 24-Jan-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make sh(1) support \u in PS1. This removes one fork/exec on interactive
shell startup.

Reviewed by: 0mp (man page), jilles
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D18790


# 488174ba 06-Jan-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Give sh(1) a proper default prompt instead of just "$".

Reviewed by: jilles
MFC after: 2 weeks
Relnotes: totally
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D18697


# 72e7eb2c 31-Dec-2018 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add current working directory to the default (although commented out) sh(1)
prompt, so it looks just like the tcsh(1) one when you uncomment it.

Reviewed by: jilles
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D18673


# f6d3cd4b 28-Dec-2018 Edward Tomasz Napierala <trasz@FreeBSD.org>

Simplify the way we set the default sh(1) PS1. No functional changes.

Reviewed by: jilles
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D18662


# 1a1620dc 30-Dec-2017 Eitan Adler <eadler@FreeBSD.org>

skel: Quote PAGER in dot.shrc

PR: 181853
Submitted by: pl@catslair.org
MFC After: 1 week


# 824c5192 24-Jan-2017 Jilles Tjoelker <jilles@FreeBSD.org>

skel: Remove reference to deleted part in previous commit to this file.

Reported by: Rodney W. Grimes
MFC after: 1 week


# a04bd580 15-Jan-2017 Jilles Tjoelker <jilles@FreeBSD.org>

skel: Do not set -o emacs in .shrc.

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
MFC after: 1 week


# 4ae95455 10-Jun-2011 Jilles Tjoelker <jilles@FreeBSD.org>

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


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 698f822d 22-Jul-2002 Juli Mallett <jmallett@FreeBSD.org>

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).


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 386e8837 03-Aug-1997 Wolfram Schneider <wosch@FreeBSD.org>

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