History log of /freebsd-current/share/skel/dot.profile
Revision Date Author Comments
# b4b61ead 09-Jan-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

dot.profile: handle symlinked $HOME

Reapply 4cea05a273c875b5d5d4c41bfa6f2f0a60fa4a66:

Make sh(1) recognize the default $HOME. By default /home
is a symlink; without this change, when you log in, sh(1)
won't realize the current directory (eg '/usr/home/test')
is the same as $HOME ('/home/test').

/home is no longer a symlink by default, but new users may be added on
systems that started out with an earlier version of FreeBSD (and still
have /home as a symlink) or admins may do so.

This test is not particularly expensive, so just restore it.

Suggested by: danfe, brooks


# fd1066be 04-Feb-2024 Collin Funk <collin.funk1@gmail.com>

.profile: Don't bother checking for /home symlink

Since FreeBSD 14.0, user directories are created directly under /home.
This check should no longer be needed.

This reverts commit 4cea05a273c875b5d5d4c41bfa6f2f0a60fa4a66.

Signed-off-by: Collin Funk <collin.funk1@gmail.com>
Pull-request: https://github.com/freebsd/freebsd-src/pull/1102


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

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


# ed1cfd30 20-Jan-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Don't mess with BLOCKSIZE in shell startup files - it's set by login.conf(5);
there's no need to even mention it in shell rc files. Not that it's wrong;
just pointless and somewhat misleading.

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


# 4cea05a2 09-Jan-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make sh(1) recognize the default $HOME. By default /home
is a symlink; without this change, when you log in, sh(1)
won't realize the current directory (eg '/usr/home/test')
is the same as $HOME ('/home/test').

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


# 47cc9ee1 08-Aug-2018 Alan Somers <asomers@FreeBSD.org>

Switch the default pager for most commands to less

Finally, a pager for the nineties.

MFC after: Never
Relnotes: Yes
Differential Revision: https://reviews.freebsd.org/D13465
Poll: https://reviews.freebsd.org/V7


# df6744e8 05-Jul-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Cosmetic tweaks to the default shell rc files, mostly comments.

MFC after: 2 weeks


# dd0e1324 05-Jul-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Run "resizewin -z" from the default shell profile files. This makes
the terminal work properly out of the box when logging over a serial
line, which is quite important for the user experience on boards like
Raspberry Pi. It doesn't affect cases where the terminal size is
already non-zero, such as SSH or vt(4) sessions.

Note that this doesn't handle a scenario pointed out by rgrimes@:
when the terminal is resized after login, the terminal size won't
get updated even after logging out and back in.

Reviewed by: imp
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D10642


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)


# c0379dbd 14-Apr-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Prefer /etc/login.conf for some of these environment values.

PR: conf/186085
Reported by: Glen Neff <glen.neff@emc.com>
MFC after: 2 weeks
Sponsored by: EMC


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


# e42fc368 12-Nov-2009 Ed Schouten <ed@FreeBSD.org>

Switch the default terminal emulation style to xterm for most platforms.

Right now syscons(4) uses a cons25-style terminal emulator. The
disadvantages of that are:

- Little compatibility with embedded devices with serial interfaces.
- Bad bandwidth efficiency, mainly because of the lack of scrolling
regions.
- A very hard transition path to support for modern character sets like
UTF-8.

Our terminal emulation library, libteken, has been supporting
xterm-style terminal emulation for months, so flip the switch and make
everyone use an xterm-style console driver.

I still have to enable this on i386. Right now pc98 and i386 share the
same /etc/ttys file. I'm not going to switch pc98, because it uses its
own Kanji-capable cons25 emulator.

IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):

- Run the application inside script(1), try to reduce the problem and
send me the log file.
- In the mean time, you can run `vidcontrol -T cons25' and `export
TERM=cons25' so you can run applications the same way you did before.
You can also build your kernel with `options TEKEN_CONS25' to make all
virtual terminals use the cons25 emulator by default.

Discussed on: current@


# 0c9e0226 27-Mar-2009 Ruslan Ermilov <ru@FreeBSD.org>

Add explicit test so that non-existence of /usr/games/fortune
doesn't affect command exit status.


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

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


# 81c16aec 29-May-2007 Doug Barton <dougb@FreeBSD.org>

Remove /usr/X11R6 from the path here too.

Reminded by: Niclas Zeising <niclas.zeising@gmail.com>


# c4e0f575 06-Jul-2002 Mark Peek <mp@FreeBSD.org>

Synchronize path with dot.cshrc by adding /usr/local/sbin.

PR: 26720
Submitted by: Rob Simmons <rsimmons@wumpus.wlcg.com>
MFC after: 1 week


# 9f1f5e8d 25-Jun-2001 Nik Clayton <nik@FreeBSD.org>

Automatically exec bash at startup if it exists^U Turn on the display of
tips from the freebsd-tips database at login time.


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

$Id$ -> $FreeBSD$


# 99b32a50 02-Sep-1998 Bruce Evans <bde@FreeBSD.org>

Nuked setting of crt here too.

Obtained from: src/etc/root/dot.profile rev.1.17.


# 6770d3ca 14-Aug-1998 Peter Hawkins <thepish@FreeBSD.org>

PR: 7613
Submitted by: Sheldon Hearn <axl@iafrica.com>
set crt='' so that mail(1) will page according to stty(1) setting


# 9028df4c 06-Jun-1998 Jun Kuriyama <kuriyama@FreeBSD.org>

Sync PATH variable with 'dot.login'.

I think here is not my area so feel free to back this out when any
troubles are happened.

Pointed out by: IIJIMA Akihiro <aki@noc.titech.ac.jp>


# ee59fc38 26-Sep-1997 Joerg Wunsch <joerg@FreeBSD.org>

Set `crt' by default to make mail(1) happy.


# 1409b687 15-Aug-1997 Andrey A. Chernov <ache@FreeBSD.org>

Remove LANG settings from here, they must be in login classes instead


# 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


# a296cb30 15-Jul-1997 Philippe Charnier <charnier@FreeBSD.org>

Remove obsolete flag (-g) for ls.
PR:conf/3730
Submitted by: helbig@MX.BA-Stuttgart.De


# 1d2134f2 08-Mar-1997 Wolfram Schneider <wosch@FreeBSD.org>

Enable some aliases.
Add example for variable CDPATH, commented out.


# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 5263d089 17-Feb-1997 Joerg Wunsch <joerg@FreeBSD.org>

Various sanitizations:

. Don't clobber the TERM setting; it's supposed to be done by /etc/ttys
already.
. Comment out the Interviews stuff, 98 % of all users probably won't
ever use it.
. Install the files with better default permissions in the skeleton
directory; pw(8) retains the permissions when creating a new
acount, and installing them read-only is stupid, yet installing
.rhosts world-readable is dangerous.

2.2 candidate


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# f98e6287 21-Sep-1996 Wolfram Schneider <wosch@FreeBSD.org>

Improve comments, sync sh/csh scripts if possible.


# 55f0df06 12-May-1996 Wolfram Schneider <wosch@FreeBSD.org>

Add comments for
some useful aliases
8-bit locale
a nicer prompt


# fc95b7a3 11-May-1996 Wolfram Schneider <wosch@FreeBSD.org>

Add a comment how to enable the emacs command line editor


# 2db54afc 01-Dec-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Similarly spartan dotfiles.


# 6a9f25dd 01-Dec-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Update these from new examples in etc/root. Also comment out
dot.rhosts entries which are wholly bogus and not worth a search
on.


# f3bee8cf 29-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the default paths a bit more rational for our systems (sheesh!).
Thanks, Sean!
Suggested by: Sean McDermott <spm@staff.cc.purdue.edu>


# afe61c15 30-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Share Sources