From ea66bfba5ec968902cb000ce558d183b339faa2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 31 Oct 2020 00:08:30 +0100 Subject: [PATCH] Don't limit history to 500 commands --- sbp.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbp.bash b/sbp.bash index 9eb0a52..786108d 100644 --- a/sbp.bash +++ b/sbp.bash @@ -40,7 +40,7 @@ _sbp_set_prompt() { fi printf '\e]2;%s\007' "$title" # gitstatus.plugin.sh requires an interactive shell - PS1=$(bash --noediting -noprofile --norc -i "${SBP_PATH}/src/main.bash" "$command_status" "$command_duration" "$GITSTATUS_DIR" "$GITSTATUS_DAEMON_PID" "$_GITSTATUS_REQ_FD" "$_GITSTATUS_RESP_FD") + PS1=$(HISTFILE=/dev/null bash --noediting -noprofile --norc -i "${SBP_PATH}/src/main.bash" "$command_status" "$command_duration" "$GITSTATUS_DIR" "$GITSTATUS_DAEMON_PID" "$_GITSTATUS_REQ_FD" "$_GITSTATUS_RESP_FD") [[ -n "$SBP_DEBUG" ]] && debug::tick_timer "Done" }