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