Changeset c58eb217


Ignore:
Timestamp:
Feb 13, 2011, 2:55:43 PM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
8f83277
Parents:
2164942
Message:

Update the bash bash profile to use /etc/locale.conf as well
as include the bash completion script provided by systemd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootscripts/common/profile.xml

    r2164942 rc58eb217  
    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 setup locale information and load
     42  any bash auto completion files that may be on the system. This script also
     43  sets the <envar>INPUTRC</envar> environment variable that makes Bash and
     44  Readline use <filename>/etc/inputrc</filename>.</para>
     45
     46<screen><userinput>cat &gt; /etc/profile &lt;&lt; "EOF"
     47<literal># Begin /etc/profile
     48
     49source /etc/locale.conf
     50for f in /etc/bash_completion.d/*.sh; do source $f; done; unset f
     51export INPUTRC=/etc/inputrc
     52
     53# End /etc/profile</literal>
     54EOF</userinput></screen>
    4355
    4456</sect1>
Note: See TracChangeset for help on using the changeset viewer.