Red Hat Bugzilla – Bug 114887
RFE: zsh configuration
Last modified: 2007-11-30 17:10:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2)
Description of problem:
is an archive that decompresses to ./etc/z* and includes all of the
zsh configuration files. The only one that has been modified is
zshrc. I added some keybindings, set the prompt, turned on
auto-completion, and made some other customizations. It is now more
similar to the mandrake version of zsh. Please review the changes. I
don't expect you to add this as is, but please consider the changes as
suggestions. I can't guarantee all the changes were made to the right
files. I would expect zsh is almost entirely used as an interactive
shell, though. I've never seen
in a script. I think the main drawing/selling point of zsh is its
advanced features, so that's why I tried to turn as many as possible on.
Version-Release number of selected component (if applicable):
4.1.1 or others
Steps to Reproduce:
to check out these files:
cp z* ~/zshbackup
tar xvjf $downloads/zsh-etc-1-30-01PST.tar.bz2
cp ** /etc/
Created attachment 97449 [details]
zsh etc files
I made a page to try to straighten out exactly what gets read and
when. It is at http://isd.usc.edu/~ehatteme/zsh/environment.html
Assuming zsh doesn't require any of the changes to run a script, and
that there isn't serious need to differentiate between login and
interactive shells, it seems fair to put everything into /etc/zshrc.
When /etc/profile gets sourced is still in question, though. I don't
personally agree with the .zshrc file, because /etc/profile contains
some important things, and rpm -i zsh* will not add that file to user
Thanks for sending in your zsh configs.
Some of it looks really nice and useful.
Some I'm too conservation to enable by default
but have included it in .zshrc commented.
And some I'm not sure about, I've left out for now.
Feel free to describe some of the stuff I may have missed
in more detail and why you feel it should be included in
a default configuration, and we can try to experiment
and see how it goes. System defaults have to be conservation
but there is more room for adventure in the dotzshrc file.
It just occured to me though that what would be really nice
would be a complete config file listing all the env variables
and options and their defaults and possible values say. That
would be an extremely useful reference and allow users to easily
add cool stuff that they want into their rc files, without forcing
it upon every zsh user. Some people like to KISS. :)
Changes initial changes should appear in zsh-4.2.0-1.
Verified in zsh-4.2.0-1