Changeset 22610fa for BOOK/system-config/common/profile.xml
- Timestamp:
- Sep 5, 2014, 7:31:52 AM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- 95835e7
- Parents:
- 819ba78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/system-config/common/profile.xml
r819ba78 r22610fa 38 38 <para>The files <filename>/etc/profile</filename> and 39 39 <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 > /etc/profile << "EOF" 47 <literal># Begin /etc/profile 48 49 for f in /etc/bash_completion.d/* 50 do 51 if [ -e ${f} ]; then source ${f}; fi 52 done 53 unset f 54 55 export INPUTRC=/etc/inputrc</literal> 56 EOF</userinput></screen> 43 57 44 58 </sect1>
Note: See TracChangeset
for help on using the changeset viewer.