# HG changeset patch # User Oleksandr Gavenko # Date 1631997173 -10800 # Node ID 247f27cfcf685f7bb550c8b778876e988e6de647 # Parent 43ccab60bb32b9d0150497864501f893bcb46da2 As of ~/.bashrc having space prefixed exclude pattern in HISTIGNORE no need for dedicated file, just add a symlink! diff -r 43ccab60bb32 -r 247f27cfcf68 .local/share/mc/bashrc --- a/.local/share/mc/bashrc Sat Sep 18 23:31:05 2021 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -# -*- mode: sh -*- - -if [[ -f $HOME/.bashrc ]]; then - . $HOME/.bashrc -fi - -# TIP: MC command start with space. -export HISTIGNORE=$HISTIGNORE:" *" - diff -r 43ccab60bb32 -r 247f27cfcf68 Makefile --- a/Makefile Sat Sep 18 23:31:05 2021 +0300 +++ b/Makefile Sat Sep 18 23:32:53 2021 +0300 @@ -148,7 +148,7 @@ ln -s -f $(HOME)/.bashrc $(HOME)/.bash_profile mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/ umask 0117 - $(INSTALL_DATA) .local/share/mc/bashrc $(HOME)/.local/share/mc/ + ln -s -f $(HOME)/.bashrc $(HOME)/.local/share/mc/bashrc cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.config/mc/mc.ext ifneq '' '$(filter $(host_os),cygwin linux)' if command -v file 1>/dev/null; then