Finally fix bruno's bug report

Thanks, bruno!

Instead of escaping the brackets at all in KEY_BACK and KEY_FORWARD, I just put
them in there raw.  It's possible that this is a difference between Bash 4 and
Bash 5, since I assume I tried it that way before, but I don't remember.  Bug
reports for Bash 4 users are welcome.
This commit is contained in:
Case Duckworth 2021-12-11 14:32:32 -06:00
parent f6d577cf19
commit d1029c2573
1 changed files with 2 additions and 2 deletions

4
bollux
View File

@ -150,8 +150,8 @@ bollux_config() {
: "${KEY_OPEN:=o}" # prompt for a link to open
: "${KEY_GOTO:=g}" # prompt for a page to 'goto'
: "${KEY_GOTO_FROM:=G}" # goto a page with current prefilled
: "${KEY_BACK:='['}" # go back in the history
: "${KEY_FORWARD:=']'}" # go forward in the history
: "${KEY_BACK:=[}" # go back in the history
: "${KEY_FORWARD:=]}" # go forward in the history
: "${KEY_REFRESH:=r}" # refresh the page
: "${KEY_CYCLE_PRE:=p}" # cycle T_PRE_DISPLAY
: "${BOLLUX_CUSTOM_LESSKEY:=$BOLLUX_CONF_DIR/bollux.lesskey}"