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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.