From 5fc478617d9ddac01cc22760da8047824c4942e2 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Mon, 25 Jun 2001 20:41:42 +0000 Subject: Suggest using .login/.profile to set environment variables, not .cshrc/.bashrc/.zshrc/.shrc --- games/fortune/datfiles/freebsd-tips | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'games') 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 -- cgit v1.2.3