Changeset 931a597


Ignore:
Timestamp:
05/17/2017 05:08:32 AM (7 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c0b4b44
Parents:
83d02fc6
Message:

Add bash_completion.d directory to bash shell statup files.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18733 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r83d02fc6 r931a597  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "16">                   <!-- Always 2 digits -->
     3<!ENTITY day          "17">                   <!-- Always 2 digits -->
    44<!ENTITY month        "05">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2017">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "May 16th &year;">
     9<!ENTITY releasedate  "May 17th &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r83d02fc6 r931a597  
    4343-->
    4444    <listitem>
     45      <para>May 17th, 2017</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[dj] - Add bash_completion.d directory to bash shell statup
     49          files.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4555      <para>May 16th, 2017</para>
    4656      <itemizedlist>
  • postlfs/config/profile.xml

    r83d02fc6 r931a597  
    183183    </sect3>
    184184
     185    <sect3 id="etc-profile.d-bash-completion.sh">
     186      <title>/etc/profile.d/bash_completion.sh</title>
     187
     188      <indexterm zone="postlfs-config-profile etc-profile.d-bash-completion.sh">
     189        <primary sortas="e-etc-profile.d-bash-completion.sh">/etc/profile.d/bash_completion.sh</primary>
     190      </indexterm>
     191
     192      <para>This script imports bash completion scripts, installed by many
     193      other BLFS packages, to allow TAB command line completion.</para>
     194
     195<screen role="root"><userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; "EOF"
     196<literal># Begin /etc/profile.d/bash_completion.sh
     197# Import bash completion scripts
     198
     199for script in /etc/bash_completion.d/*.sh ; do
     200        if [ -r $script ] ; then
     201                . $script
     202        fi
     203done
     204# End /etc/profile.d/bash_completion.sh</literal>
     205EOF</userinput></screen>
     206
     207      <para>Make sure that the directory exists:</para>
     208
     209<screen role="root"><userinput>install --directory --mode=0755 --owner=root --group=root /etc/bash_completion.d</userinput></screen>
     210
     211    </sect3>
     212
     213
     214
    185215    <sect3 id="etc-profile.d-dircolors.sh">
    186216      <title>/etc/profile.d/dircolors.sh</title>
Note: See TracChangeset for help on using the changeset viewer.