From febd3f1101c402194975824a1042b5f673fb65ae Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Mon, 19 Jan 2026 00:01:31 +0100 Subject: [PATCH] bashrc: run shellcheck on it --- bash/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc b/bash/bashrc index b065281..c803ba1 100755 --- a/bash/bashrc +++ b/bash/bashrc @@ -20,7 +20,7 @@ export NEWT_COLORS='root=black,black;window=black,black;border=white,black;listb alias reload=". ~/.bashrc" # Bind PageUp and PageDown to history search -if [ -n "$BASH_VERSION" -a -n "$PS1" ]; then +if [ -n "$BASH_VERSION" ] && [ -n "$PS1" ]; then bind '"\e[5~": history-search-backward' bind '"\e[6~": history-search-forward' fi