Ticket #328: profile_2003-07-31.diff

File profile_2003-07-31.diff, 580 bytes (added by danielbaumann@…, 21 years ago)

Adds HISTIGNORE for ls and {b,g}f commands

  • postlfs/config/profile.xml

    diff -Naur BOOK.backup/postlfs/config/profile.xml BOOK/postlfs/config/profile.xml
    old new  
    8282
    8383# Setup some environment variables.
    8484HISTSIZE=1000
     85HISTIGNORE="&:ls:ls *:[bf]g:exit"
    8586PS1="[\u@\h \w]\\$ "
    8687
    8788# Setup the INPUTRC environment variable.
     
    9899        fi
    99100fi
    100101
    101 export PATH HISTSIZE PS1 LS_COLORS INPUTRC
     102export PATH HISTSIZE HISTIGNORE PS1 LS_COLORS INPUTRC
    102103
    103104# End /etc/profile
    104105<command>EOF</command></userinput></screen>