Suggest using .login/.profile to set environment variables, not

.cshrc/.bashrc/.zshrc/.shrc
This commit is contained in:
brian 2001-06-25 20:41:42 +00:00
parent 5a93db29f7
commit 6c375dc99a

View File

@ -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