diff options
author | Case Duckworth | 2021-12-11 14:32:32 -0600 |
---|---|---|
committer | Case Duckworth | 2021-12-11 14:32:32 -0600 |
commit | d1029c257350677206b93acd5ecfd60ed0a1897b (patch) | |
tree | 1366cbc495e9f5084922bfcb30c0ae741584ff9a | |
parent | Merge branch 'main' of https://tildegit.org/acdw/bollux (diff) | |
download | bollux-d1029c257350677206b93acd5ecfd60ed0a1897b.tar.gz bollux-d1029c257350677206b93acd5ecfd60ed0a1897b.zip |
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.
-rwxr-xr-x | bollux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bollux b/bollux index ebdb22f..277af05 100755 --- a/bollux +++ b/bollux | |||
@@ -150,8 +150,8 @@ bollux_config() { | |||
150 | : "${KEY_OPEN:=o}" # prompt for a link to open | 150 | : "${KEY_OPEN:=o}" # prompt for a link to open |
151 | : "${KEY_GOTO:=g}" # prompt for a page to 'goto' | 151 | : "${KEY_GOTO:=g}" # prompt for a page to 'goto' |
152 | : "${KEY_GOTO_FROM:=G}" # goto a page with current prefilled | 152 | : "${KEY_GOTO_FROM:=G}" # goto a page with current prefilled |
153 | : "${KEY_BACK:='['}" # go back in the history | 153 | : "${KEY_BACK:=[}" # go back in the history |
154 | : "${KEY_FORWARD:=']'}" # go forward in the history | 154 | : "${KEY_FORWARD:=]}" # go forward in the history |
155 | : "${KEY_REFRESH:=r}" # refresh the page | 155 | : "${KEY_REFRESH:=r}" # refresh the page |
156 | : "${KEY_CYCLE_PRE:=p}" # cycle T_PRE_DISPLAY | 156 | : "${KEY_CYCLE_PRE:=p}" # cycle T_PRE_DISPLAY |
157 | : "${BOLLUX_CUSTOM_LESSKEY:=$BOLLUX_CONF_DIR/bollux.lesskey}" | 157 | : "${BOLLUX_CUSTOM_LESSKEY:=$BOLLUX_CONF_DIR/bollux.lesskey}" |