diff options
author | brian <brian@FreeBSD.org> | 2001-06-25 20:41:42 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-06-25 20:41:42 +0000 |
commit | a422dc99b48bd3b0429e2cb66674a9b1e3ff19a5 (patch) | |
tree | cbeb39cafb49e2a3305c75d701cabee82e175026 /games/fortune | |
parent | bd6ce907343111864c42a217bb38c964545b0ee2 (diff) | |
download | FreeBSD-src-a422dc99b48bd3b0429e2cb66674a9b1e3ff19a5.zip FreeBSD-src-a422dc99b48bd3b0429e2cb66674a9b1e3ff19a5.tar.gz |
Suggest using .login/.profile to set environment variables, not
.cshrc/.bashrc/.zshrc/.shrc
Diffstat (limited to 'games/fortune')
-rw-r--r-- | games/fortune/datfiles/freebsd-tips | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips index f4017c4..6f423b3 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 |