Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#2122 - zsh: Missing /etc/zshrc resulting in missing evironment variables
Attached to Project:
Arch Linux
Opened by Jan Huelsbergen (afoo) - Tuesday, 01 February 2005, 16:36 GMT
Last edited by Dale Blount (dale) - Tuesday, 01 February 2005, 16:41 GMT
Opened by Jan Huelsbergen (afoo) - Tuesday, 01 February 2005, 16:36 GMT
Last edited by Dale Blount (dale) - Tuesday, 01 February 2005, 16:41 GMT
|
DetailsThe missing /etc/zshrc in the zsh package results in missing environment variables, especially $PATH and $MANPATH need to be adjusted through the scripts some packages put in /etc/profile.d so things like /opt/gnome/bin get added automaticly.
I've created a minimal /etc/zshrc which does just what it has to do (plus some minor IMHO essential thing which are optional): ---snip--- # # /etc/zshrc # # first source bash's /etc/profile to get everything # usable (esp. PATH) from there source /etc/profile # then set a prompt usable by zsh PROMPT=$'[%~]\n%m$ ' # everything below here is optional # (not related to the reported bug) # history HISTFILE=~/.zsh_history HISTSIZE=500 SAVEHIST=500 # key bindings bindkey "^[[2~" yank bindkey "^[[3~" delete-char bindkey "^[[5~" up-line-or-history ## PageUp bindkey "^[[6~" down-line-or-history ## PageDown bindkey "^[[H" beginning-of-line bindkey "^[[F" end-of-line bindkey "^[e" expand-cmd-path ## C-e for expanding path of typed command bindkey "^[[A" up-line-or-search ## up arrow for back-history-search bindkey "^[[B" down-line-or-search ## down arrow for fwd-history-search ---snap--- |
This task depends upon
Closed by arjan timmerman (blaasvis)
Saturday, 25 March 2006, 15:27 GMT
Reason for closing: Fixed
Additional comments about closing: it seems it is in sync with /etc/profile now.
Saturday, 25 March 2006, 15:27 GMT
Reason for closing: Fixed
Additional comments about closing: it seems it is in sync with /etc/profile now.
zshrc
is propably the same only without attached file
zsh should behave better now.