diff options
author | Case Duckworth | 2020-05-25 22:18:43 -0500 |
---|---|---|
committer | Case Duckworth | 2020-05-25 22:18:43 -0500 |
commit | f7e87e3d06bb65307bcd10d4ae344a31d65e923c (patch) | |
tree | 942f7be7d36e70b9fb5d0129f41b81e9ec096445 | |
parent | Update README (diff) | |
download | bollux-f7e87e3d06bb65307bcd10d4ae344a31d65e923c.tar.gz bollux-f7e87e3d06bb65307bcd10d4ae344a31d65e923c.zip |
Add less prompts
-rwxr-xr-x | bollux | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bollux b/bollux index f9ebdb6..6646e8e 100755 --- a/bollux +++ b/bollux | |||
@@ -306,6 +306,11 @@ display() { | |||
306 | { | 306 | { |
307 | [[ -r "$BOLLUX_LESSKEY" ]] || mklesskey "$BOLLUX_LESSKEY" | 307 | [[ -r "$BOLLUX_LESSKEY" ]] || mklesskey "$BOLLUX_LESSKEY" |
308 | } && less_cmd+=(-k "$BOLLUX_LESSKEY") | 308 | } && less_cmd+=(-k "$BOLLUX_LESSKEY") |
309 | less_cmd+=( | ||
310 | -Pm'bollux$' | ||
311 | -PM'o\:open, g\:goto, r\:refresh$' | ||
312 | -M | ||
313 | ) | ||
309 | 314 | ||
310 | submime="${mime#*/}" | 315 | submime="${mime#*/}" |
311 | if declare -F | grep -q "$submime"; then | 316 | if declare -F | grep -q "$submime"; then |