Red Hat Bugzilla – Bug 4055
the default init files have some bad interactions
Last modified: 2014-03-16 22:09:42 EDT
keeps adding elements to the path. Annoying when
zsh is called from within zsh (such as a zsh shell
in an emacs buffer started from an zsh shell in an
xterm itself started from a zsh shell run from
But at least it puts them at the end, so it's not
most of the crap has nothing to do in there and
should be in /etc/skel/.zshrc instead. Else it's
a real pain the ass for the user to override them.
setting `umask' in the zshrc file is a bad idea.
especially since it is sourced after ~/.zshenv and
~/.zprofile which means that it
overrides and user setting of `umask' in those
files. It should be in /etc/zshenv
or /etc/zprofile if anywhere.
setting USER is evil. USER is already set
automatically, leave it as it is. Same thing
is set `path' and then `PATH' although these are
one and the same variable, so you end up adding
$HOME/bin twice (and this gets repeated ad-nauseaum
in the same way as the /etc/zshenv settings if
you execute zsh from within zsh).
`bindkey -e' is also annoying and unnecessary:
unless VISUAL or EDITOR contains `vi' the bindings
default to `-e' already. Adding the explicit
`bindkey' defeats this useful feature.
assigned to notting
will be fixed in next Raw Hide release.
Source all .sh-files (it is compatible) instead of
non-existing .zsh-files from /etc/profile.d/ - just remove the
#s and replace .zsh with .sh