aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-06-25 20:41:42 +0000
committerBrian Somers <brian@FreeBSD.org>2001-06-25 20:41:42 +0000
commit5fc478617d9ddac01cc22760da8047824c4942e2 (patch)
treecbeb39cafb49e2a3305c75d701cabee82e175026 /games
parent9f1f5e8d5361673478e4da90275f62c9e8dfba55 (diff)
downloadsrc-5fc478617d9ddac01cc22760da8047824c4942e2.tar.gz
src-5fc478617d9ddac01cc22760da8047824c4942e2.zip
Suggest using .login/.profile to set environment variables, not
.cshrc/.bashrc/.zshrc/.shrc
Notes
Notes: svn path=/head/; revision=78772
Diffstat (limited to 'games')
-rw-r--r--games/fortune/datfiles/freebsd-tips7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips
index f4017c44a6c8..6f423b3ae970 100644
--- a/games/fortune/datfiles/freebsd-tips
+++ b/games/fortune/datfiles/freebsd-tips
@@ -114,10 +114,9 @@ the environment variable HTTP_AUTH to 'basic:*'.
%
You can permanently set environment variables for your shell by putting them
in a startup file for the shell. The name of the startup file varies
-depending on the shell - csh and tcsh uses .cshrc, bash uses .bashrc, zsh uses
-.zshenv, ksh uses .kshrc, and the Bourne shell (/bin/sh) uses .profile (and
-through a little bit of trickery in .profile also .shrc)
-Other shells will often also read .profile
+depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use
+.profile. When using bash, sh, ksh or zsh, don't forget to export the
+variable.
%
If you are running xterm, the default TERM variable will be 'xterm'. If you
set this environment variable to 'xterm-color' instead, a lot of programs will