Summary: | /etc/profile spits out errors in zsh if /etc/profile.d doesnt exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Saleem Abdulrasool (RETIRED) <compnerd> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | marti, steev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | profile.d-nonexistant.patch |
Description
Saleem Abdulrasool (RETIRED)
![]() Created attachment 75246 [details, diff]
profile.d-nonexistant.patch
the double check is pointless, added just a -d check to svn, thanks *** Bug 116571 has been marked as a duplicate of this bug. *** actually proposed patch is bogus how the hell are you getting errors ? that code is fine and the -r check will prevent any attempts to source non-existant files # Default environment if [[ -f /etc/profile ]] ; then source /etc/profile fi That is what I have in my .zshrc Not sure what is causing it - but when I login, i get /etc/profile:61: no matches found: /etc/profile.d/*.sh well it's a good thing you included details :P Marking invalid as zsh should not source /etc/profile but rather /etc/zprofile. *** Bug 121673 has been marked as a duplicate of this bug. *** |