aboutsummaryrefslogtreecommitdiff
path: root/share/skel/dot.profile
Commit message (Collapse)AuthorAgeFilesLines
* dot.profile: handle symlinked $HOMEEdward Tomasz Napierala2024-02-131-0/+3
| | | | | | | | | | | | | | | | | 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
* .profile: Don't bother checking for /home symlinkCollin Funk2024-02-121-3/+0
| | | | | | | | | | 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
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Don't mess with BLOCKSIZE in shell startup files - it's set by login.conf(5);Edward Tomasz Napierala2019-01-201-1/+0
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=343231
* Make sh(1) recognize the default $HOME. By default /homeEdward Tomasz Napierala2019-01-091-0/+3
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=342881
* Switch the default pager for most commands to lessAlan Somers2018-08-081-1/+1
| | | | | | | | | | | | Finally, a pager for the nineties. MFC after: Never Relnotes: Yes Differential Revision: https://reviews.freebsd.org/D13465 Poll: https://reviews.freebsd.org/V7 Notes: svn path=/head/; revision=337497
* Cosmetic tweaks to the default shell rc files, mostly comments.Edward Tomasz Napierala2017-07-051-0/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=320672
* Run "resizewin -z" from the default shell profile files. This makesEdward Tomasz Napierala2017-07-051-0/+3
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=320670
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=278616
* Prefer /etc/login.conf for some of these environment values.Bryan Drewery2014-04-141-3/+4
| | | | | | | | | | PR: conf/186085 Reported by: Glen Neff <glen.neff@emc.com> MFC after: 2 weeks Sponsored by: EMC Notes: svn path=/head/; revision=264465
* Switch the default terminal emulation style to xterm for most platforms.Ed Schouten2009-11-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@ Notes: svn path=/head/; revision=199243
* Add explicit test so that non-existence of /usr/games/fortuneRuslan Ermilov2009-03-271-1/+1
| | | | | | | doesn't affect command exit status. Notes: svn path=/head/; revision=190477
* Remove /usr/X11R6 from the path here too.Doug Barton2007-05-291-2/+2
| | | | | | | Reminded by: Niclas Zeising <niclas.zeising@gmail.com> Notes: svn path=/head/; revision=170119
* Synchronize path with dot.cshrc by adding /usr/local/sbin.Mark Peek2002-07-071-1/+1
| | | | | | | | | PR: 26720 Submitted by: Rob Simmons <rsimmons@wumpus.wlcg.com> MFC after: 1 week Notes: svn path=/head/; revision=99510
* Automatically exec bash at startup if it exists^U Turn on the display ofNik Clayton2001-06-251-0/+2
| | | | | | | tips from the freebsd-tips database at login time. Notes: svn path=/head/; revision=78771
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Nuked setting of crt here too.Bruce Evans1998-09-021-5/+1
| | | | | | | Obtained from: src/etc/root/dot.profile rev.1.17. Notes: svn path=/head/; revision=38747
* PR: 7613Peter Hawkins1998-08-141-2/+4
| | | | | | | | Submitted by: Sheldon Hearn <axl@iafrica.com> set crt='' so that mail(1) will page according to stty(1) setting Notes: svn path=/head/; revision=38320
* Sync PATH variable with 'dot.login'.Jun Kuriyama1998-06-061-3/+3
| | | | | | | | | | 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> Notes: svn path=/head/; revision=36699
* Set `crt' by default to make mail(1) happy.Joerg Wunsch1997-09-261-1/+3
| | | | Notes: svn path=/head/; revision=29871
* Remove LANG settings from here, they must be in login classes insteadAndrey A. Chernov1997-08-151-4/+1
| | | | Notes: svn path=/head/; revision=28244
* Move aliases and shell flags from .profile to .shrc so these settingsWolfram Schneider1997-08-031-34/+3
| | | | | | | | | | 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 Notes: svn path=/head/; revision=27865
* Remove obsolete flag (-g) for ls.Philippe Charnier1997-07-151-2/+2
| | | | | | | | PR:conf/3730 Submitted by: helbig@MX.BA-Stuttgart.De Notes: svn path=/head/; revision=27416
* Enable some aliases.Wolfram Schneider1997-03-081-8/+12
| | | | | | | Add example for variable CDPATH, commented out. Notes: svn path=/head/; revision=23532
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Various sanitizations:Joerg Wunsch1997-02-171-2/+5
| | | | | | | | | | | | | | | | . 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 Notes: svn path=/head/; revision=22855
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Improve comments, sync sh/csh scripts if possible.Wolfram Schneider1996-09-211-7/+19
| | | | Notes: svn path=/head/; revision=18450
* Add comments forWolfram Schneider1996-05-121-1/+27
| | | | | | | | | some useful aliases 8-bit locale a nicer prompt Notes: svn path=/head/; revision=15750
* Add a comment how to enable the emacs command line editorWolfram Schneider1996-05-111-1/+6
| | | | Notes: svn path=/head/; revision=15734
* Similarly spartan dotfiles.Jordan K. Hubbard1995-12-011-3/+1
| | | | Notes: svn path=/head/; revision=12560
* Update these from new examples in etc/root. Also comment outJordan K. Hubbard1995-12-011-10/+7
| | | | | | | | dot.rhosts entries which are wholly bogus and not worth a search on. Notes: svn path=/head/; revision=12554
* Make the default paths a bit more rational for our systems (sheesh!).Jordan K. Hubbard1995-01-291-1/+1
| | | | | | | | Thanks, Sean! Suggested by: Sean McDermott <spm@staff.cc.purdue.edu> Notes: svn path=/head/; revision=6015
* BSD 4.4 Lite Share SourcesRodney W. Grimes1994-05-301-0/+11
Notes: svn path=/head/; revision=1638