Skip to content

Commit

Permalink
feat: add reload binding to history commands
Browse files Browse the repository at this point in the history
  • Loading branch information
LangLangBart committed Mar 22, 2024
1 parent 3556afc commit d40a9bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gh-find-code
Original file line number Diff line number Diff line change
Expand Up @@ -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"}" \
Expand Down

0 comments on commit d40a9bd

Please sign in to comment.