Ignore:
Timestamp:
Sep 5, 2014, 7:31:52 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
95835e7
Parents:
819ba78
Message:

Update text on bash startup files/locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/system-config/common/profile.xml

    r819ba78 r22610fa  
    3838  <para>The files <filename>/etc/profile</filename> and
    3939  <filename>~/.bash_profile</filename> are read when the shell is
    40   invoked as an interactive login shell. In the next section, a base
    41   <filename>/etc/profile</filename> will be created to set up locale
    42   information.</para>
     40  invoked as an interactive login shell. Create a base
     41  <filename>/etc/profile</filename> that will load any Bash auto completion
     42  files that may be on the system, and set the <envar>INPUTRC</envar>
     43  environment variable that makes Bash and Readline use
     44  <filename>/etc/inputrc</filename>:</para>
     45
     46<screen><userinput>cat &gt; /etc/profile &lt;&lt; "EOF"
     47<literal># Begin /etc/profile
     48
     49for f in /etc/bash_completion.d/*
     50do
     51  if [ -e ${f} ]; then source ${f}; fi
     52done
     53unset f
     54
     55export INPUTRC=/etc/inputrc</literal>
     56EOF</userinput></screen>
    4357
    4458</sect1>
Note: See TracChangeset for help on using the changeset viewer.