From 14acce0e7b38da788176dec99a12a245bfcc8fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Bystriansky?= Date: Sun, 10 Jan 2021 19:59:23 +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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.bashrc b/.bashrc index d29b3f4..d7da239 100644 --- a/.bashrc +++ b/.bashrc @@ -24,6 +24,13 @@ HISTCONTROL=ignoreboth:erasedups #### moja voľba - zobrazí príkaz predtým ako ho vykoná ak použijem !! alebo !? shopt -s histverify +#for i +#do +#echo "$i" +#done +# všetko toto uloží do jednéhoriadka v histórii +shopt -s cmdhist + # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=10000 HISTFILESIZE=50000