From 419fd3610e7da48bafe9f4418da30f037e54022f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Bystriansky?= Date: Sun, 10 Jan 2021 19:28:29 +0100 Subject: [PATCH] =?UTF-8?q?pr=C3=A1ca=20s=20hist=C3=B3riou?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 9d2ace3..a9e49ff 100644 --- a/.bashrc +++ b/.bashrc @@ -18,14 +18,14 @@ HISTCONTROL=ignoreboth shopt -s histverify #ukladanie historie ze vsech session okamzite po odeslani prikazu... -PROMPT_COMMAND="history -a; $PROMPT_COMMAND" +PROMPT_COMMAND="history -a;history -n; $PROMPT_COMMAND" # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=10000 HISTFILESIZE=50000 # moje vložené ignoruje príkazy -HISTIGNORE=rm:yyy:yya:mv:ll:jw:lsl:ls:ls*:cd:.:..:...:\n:cd*:poweroff:reboot:exit +HISTIGNORE=yy*:jw:.:..*:poweroff:reboot:exit # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS.