Ticket #45: profile.xml.patch

File profile.xml.patch, 2.0 KB (added by jwrober@…, 24 years ago)

Added various textual changes and bug 45 text.

  • profile.xml

     
    3131is read when the shell is invoked as an interactive non-login
    3232shell.</para>
    3333
    34 <para>Here is a base <filename>/etc/profile</filename>.</para>
     34<para>Here is a base <filename>/etc/profile</filename>.  Comments in the
     35file should explain everything you need.  For more information on the
     36escape sequences you can use for your prompt (e.g.  the PS1 environment
     37variable) see <filename>info bash</filename> -- Node: Printing a
     38Prompt.</para>
    3539
    3640<para><screen># Begin /etc/profile
    3741# Written for Beyond Linux From Scratch
    … …  
    9498
    9599# End /etc/profile</screen></para>
    96100
    97 
    98101<para>Here is a base <filename>/etc/bashrc</filename>.  Comments in the
    99102file should explain everything you need.</para>
    100103
    … …  
    137140# System wide aliases and functions are in /etc/bashrc.
    138141
    139142if [ -f "$HOME/.bashrc" ] ; then
    140         . $HOME/.bashrc
     143        source $HOME/.bashrc
    141144fi
    142145
    143146if [ -d "$HOME/bin" ] ; then
    … …  
    163166# in /etc/bashrc.
    164167
    165168if [ -f "/etc/bashrc" ] ; then
    166         . /etc/bashrc
     169        source /etc/bashrc
    167170fi
    168171
    169172# End ~/.bashrc</screen></para>
    170173
    171174<para>Here is a base <filename>~/.bash_logout</filename>.  Comments in
    172 the file should explain everything you need.</para>
     175the file should explain everything you need.  You will notice that the
     176base <filename>~/.bash_logout</filename> does not include a
     177<userinput>clear</userinput> command.  This is because the clear is
     178handled in the <filename>/etc/issue</filename> file.</para>
    173179
    174180<para><screen># Begin ~/.bash_logout
    175181# Written for Beyond Linux From Scratch
    … …  
    190196<filename>.dircolors</filename> file and place it in the
    191197<filename>/etc/skel</filename> directory for new users.</para>
    192198
     199<para>Ian Macdonald has written an excellent collection of tips and
     200tricks to enhance your shell environment.  You can read it online at
     201<ulink
     202url="http://www.caliban.org/bash/index.shtml">http://www.caliban.org/bash/index.shtml</ulink></para>
     203
    193204</sect1>