From 8f6c32e94a0113f4006b685fd684e19cc70890d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Thu, 11 May 2023 14:43:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Tweak=20history=20limit=20to=20k?= =?UTF-8?q?eep=201=20million=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prepare-labs/lib/commands.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prepare-labs/lib/commands.sh b/prepare-labs/lib/commands.sh index 78309bf5..bdd399fe 100644 --- a/prepare-labs/lib/commands.sh +++ b/prepare-labs/lib/commands.sh @@ -140,9 +140,11 @@ bind l select-pane -R set -g mouse on # Make scrolling with wheels work - bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" bind -n WheelDownPane select-pane -t= \; send-keys -M + +# Retain one million lines +set-option -g history-limit 1000000 SQRL # Install docker-prompt script