Changeset d472e22c for postlfs


Ignore:
Timestamp:
02/03/2024 10:31:13 PM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, lazarus, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
0ef09874
Parents:
19cebb2
Message:

zsh: Fix up configuration file paths in doc

When I tried to make some system-wide configuration for zsh I created
/etc/zprofile following the man page, but it's incorrect due to we are
passing --with-etcdir=/etc/zsh. Fix up the doc so people won't be
puzzled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/shells/zsh.xml

    r19cebb2 rd472e22c  
    8282    <bridgehead renderas="sect4">Optional</bridgehead>
    8383    <para role="optional">
    84       <xref linkend="pcre"/> and
    85       <xref linkend="valgrind"/>
     84      <xref linkend="pcre"/>,
     85      <xref linkend="valgrind"/>, and
     86      <ulink url='https://fbb-git.gitlab.io/yodl/'>yodl</ulink>
    8687    </para>
    8788
     
    9798<screen><userinput>sed -e 's/set_from_init_file/texinfo_&amp;/' \
    9899    -i Doc/Makefile.in</userinput></screen>
     100
     101    <para>
     102      The documentation files contain references to zsh configuration
     103      files in <filename class='directory'>/etc</filename>, but we'll
     104      use <filename class='directory'>/etc/zsh</filename> to hold these
     105      configuration files instead.  The building system will fix up those
     106      references if the <application>yodl</application> package is
     107      available, but it's out of the scope of BLFS.  So we need to fix up
     108      the references manually:
     109    </para>
     110
     111<screen><userinput>sed 's|/etc/z|/etc/zsh/z|g' -i Doc/*.*</userinput></screen>
    99112
    100113<!--    <note>
Note: See TracChangeset for help on using the changeset viewer.