.mc/bashrc
changeset 107 43f69ef5ec58
parent 18 2e991b769c95
child 108 7e0a2fb90c5a
equal deleted inserted replaced
106:6bcd784caf97 107:43f69ef5ec58
     2 
     2 
     3 #   ignorespace do not save lines that start with space
     3 #   ignorespace do not save lines that start with space
     4 #   erasedups all previous lines matching the current line to be removed from
     4 #   erasedups all previous lines matching the current line to be removed from
     5 #             the history list before that line is saved
     5 #             the history list before that line is saved
     6 export HISTCONTROL=igrorespace:erasedups
     6 export HISTCONTROL=igrorespace:erasedups
     7 export HISTIGNORE=" ?cd *":"e *":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":ls:pwd:"vlc*"
     7 export HISTIGNORE=$HISTIGNORE:\
       
     8 " cd *":" e *":\
       
     9 " sudo mv*":" sudo rm*":" sudo cp*":" sudo mkdir*":" sudo chmod *":" sudo chown *":\
       
    10 " ls*":" pwd*":" vlc*"