FS#48992 - [zsh] wrong file paths in man pages

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Sunday, 17 April 2016, 09:38 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 24 April 2022, 09:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:
`man zsh` lists: /etc/zshenv /etc/zprofile /etc/zshrc /etc/zlogin /etc/zlogout
zsh is packaged to use: /etc/zsh/zshenv /etc/zsh/zprofile /etc/zsh/zshrc /etc/zsh/zlogin /etc/zsh/zlogout

According to https://sourceforge.net/p/zsh/code/ci/master/tree/INSTALL this can be fixed:
"The precompiled documentation comes with startup files listed
as being in the /etc directory. If yodl is available, running
"touch version.yo" and "make" in the Doc directory should produce
correctly substituted documentation."

Additional info:
* package version(s)
* config and/or log files etc.
zsh 5.2-1

Steps to reproduce:
man zsh
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 24 April 2022, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 5.8.1-2
Comment by nl6720 (nl6720) - Saturday, 14 July 2018, 11:41 GMT
yodl is now in community.
Comment by Nihal Jere (noocsharp) - Sunday, 07 June 2020, 21:12 GMT
Since yodl is in community, adding it as a make dependency and forcing the documentation to be rebuilt will fix this issue.

I attached a diff to the PKGBUILD that will resolve this.
   zsh.diff (0.7 KiB)
Comment by Magnus (DeArchDev) - Monday, 27 December 2021, 14:16 GMT
You might want to try to update zsh as the latest version is 5.8 which might have fixed the issue
Comment by nl6720 (nl6720) - Monday, 07 February 2022, 13:41 GMT
This issue is not fixed. The paths in the man pages of the zsh 5.8-1 package are still wrong. See https://man.archlinux.org/man/zsh.1#FILES
Comment by Izzet Beltir (izzet-beltir) - Friday, 01 April 2022, 13:32 GMT
Still not fixed - have this problem on a newly installed machine. Took me half hour of research till I found the note in https://wiki.archlinux.org/title/zsh#Startup/Shutdown_files ("The paths used in Arch's zsh package are different from the default ones used in the man pages"). Please, please fix this. Just annoying without any benefits.

Loading...