From d40a9bd9d03392483ff2cd2f1a41acc7c859a805 Mon Sep 17 00:00:00 2001 From: LangLangbart <92653266+LangLangBart@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:20:38 +0100 Subject: [PATCH] feat: add reload binding to history commands --- gh-find-code | 1 + 1 file changed, 1 insertion(+) diff --git a/gh-find-code b/gh-find-code index a70b644..706a2d4 100755 --- a/gh-find-code +++ b/gh-find-code @@ -715,6 +715,7 @@ view_history_commands() { --bind "start:execute-silent(echo \${PPID-} >>$store_ppid)+reload:$history_command" \ --bind "ctrl-d:reload:grep --fixed-strings --line-regexp --invert-match {2..} $gh_find_code_history >$store_gh_find_code_history_tmp; mv $store_gh_find_code_history_tmp $gh_find_code_history; $history_command" \ --bind 'ctrl-h:abort' \ + --bind "ctrl-r:reload:$history_command" \ --bind 'esc:abort' \ --color "header:${header_color:--1}" \ --header "${header_string:-"enter select · ^d delete a line · esc quit"}" \