Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Mandrake 8.0 - compinit in /etc/zshrc
- X-seq: zsh-workers 14393
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>, Zsh Workers <zsh-workers@xxxxxxxxxx>, cooker@xxxxxxxxxxxxxxxxxx
- Subject: Re: Mandrake 8.0 - compinit in /etc/zshrc
- Date: Sat, 19 May 2001 20:26:26 +0000
- In-reply-to: <3B06B93C.2030606@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <3B06B93C.2030606@xxxxxxxxxxxxxx>
On May 19, 10:19pm, Andrej Borsenkow wrote:
} Subject: Mandrake 8.0 - compinit in /etc/zshrc
}
} I am not exactly happy about it ... one reason is above; the other one,
} should distribution unconditionally force user to use new completion?
This is a philosophical decision along the lines of "should the default
zsh setopts include always_last_prompt and auto_list?" though a bit more
extreme. I personally would say it should not.
} Here is relevant part from /etc/zshrc:
}
} # Completion functions
} _compdir=/usr/share/zsh/$ZSH_VERSION/functions/Completion
} [[ -z $fpath[(r)$_compdir] ]] && fpath=($fpath $_compdir)
} autoload -U compinit
} compinit
Drop just the actual execution of "compinit" and the rest would be OK.
Anyway, the obvious workaround is to add to your .zshenv:
alias compinit="compinit -d ${ZDOTDIR:-$HOME}/.zcompdump.$ZSH_VERSION"
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author