Bug 4055 - the default init files have some bad interactions
the default init files have some bad interactions
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 1999-07-15 12:06 EDT by monnier+lists/redhat/bugs
Modified: 2014-03-16 22:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-07-29 13:17:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description monnier+lists/redhat/bugs 1999-07-15 12:06:45 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
	too intrusive
	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.
Comment 1 Cristian Gafton 1999-07-21 17:52:59 EDT
assigned to notting
Comment 2 Bill Nottingham 1999-07-29 12:40:59 EDT
will be fixed in next Raw Hide release.
Comment 3 Trond Eivind Glomsrød 1999-08-22 12:17:59 EDT
       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

Note You need to log in before you can comment on or make changes to this bug.