Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.0.1-pre-1 on RH6.2
- X-seq: zsh-workers 13490
- From: Fletch <fletch@xxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: 4.0.1-pre-1 on RH6.2
- Date: 15 Feb 2001 14:31:13 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: "Bart Schaefer"'s message of "Thu, 15 Feb 2001 18:04:47 +0000"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Very Little
- References: <1010215171405.ZM10545@xxxxxxxxxxxxxxxxxxxxxxx> <m2g0hfvoo3.fsf@xxxxxxxxxxxxxxxxxxxxx> <1010215180447.ZM10611@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: fletch@xxxxxxxxxxxx
>>>>> "Bart" == Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx> writes:
[...]
Bart> Is there anything in /etc/zshenv or /etc/zshrc that's the
Bart> same on both machines? "make check" has the problem that
Bart> it's vulnerable to being messed with by the global rcfiles,
Bart> and completion is the most exposed.
Both machines have the zsh{rc,env} from the RedHat zsh-3.0.7-4
RPM. But nothing really out of the ordinary is set (at least as far
as I can see).
---->8 /etc/zshrc 8<----
#
# /etc/zshrc is sourced in interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
# Set up aliases
alias mv='nocorrect mv' # no spelling correction on mv
alias cp='nocorrect cp' # no spelling correction on cp
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
# Shell functions
setenv() { export $1=$2 } # csh compatibility
# Set prompts
PROMPT='%m%# ' # default prompt
#RPROMPT=' %~' # prompt for right side of screen
# Some environment variables
export HOSTNAME=`/bin/hostname`
export MAIL=/var/spool/mail/$USER
path=($path $HOME/bin)
# bindkey -v # vi key bindings
# bindkey -e # emacs key bindings
bindkey ' ' magic-space # also do history expansino on space
---->8 /etc/zshrc 8<----
---->8 /etc/zshenv 8<----
#
# /etc/zshenv is sourced on all invocations of the
# shell, unless the -f option is set. It should
# contain commands to set the command search path,
# plus other important environment variables.
# .zshenv should not contain commands that product
# output or assume the shell is attached to a tty.
#
export X11HOME=/usr/X11R6
if [ `id -u` -eq 0 ]; then
path=(/sbin /usr/sbin)
fi
echo $PATH | /bin/grep -q "\W$X11HOME/bin:" || path=($path $X11HOME/bin)
echo $PATH | /bin/grep -q "\W/bin:" || path=($path /bin)
echo $PATH | /bin/grep -q "\W/usr/bin:" || path=($path /usr/bin)
echo $PATH | /bin/grep -q "\W/usr/local/bin:" || path=($path /usr/local/bin)
---->8 /etc/zshenv 8<----
--
Fletch | "If you find my answers frightening, __`'/|
fletch@xxxxxxxxxxxx | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
Messages sorted by:
Reverse Date,
Date,
Thread,
Author