.local/share/mc/bashrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 16 Jun 2021 15:24:53 +0300
changeset 990 582cddcfb6a6
parent 324 e30f2ac488aa
permissions -rw-r--r--
Fixed horrible Bash regex performance matching with two placeholders. Instead use fast one and extract remaining part.

# -*- mode: sh -*-

if [[ -f $HOME/.bashrc ]]; then
  . $HOME/.bashrc
fi

# TIP: MC command start with space.
export HISTIGNORE=$HISTIGNORE:" *"