dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0836d6f721d22ded8ee4e3d0a5d8d1826ff4d4e1
parent 69cc8245d28b8f16beacb4a12bfb7a1a138d43b1
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue, 21 Sep 2021 16:59:46 +0200

w3m: fix searx quoting

Diffstat:
Mw3m/cgi-bin/surfraw-searx.cgi | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/w3m/cgi-bin/surfraw-searx.cgi b/w3m/cgi-bin/surfraw-searx.cgi @@ -1,4 +1,7 @@ #!/bin/sh # Read query for Searx, save target URL to /tmp/w3m_target_url query="$(fzf --print-query --prompt="Searx >> Search: " --info=hidden --layout=reverse </dev/null)" -surfraw -p searx "$query" > /tmp/w3m_target_url + +# I want to word split here +# shellcheck disable=SC2086 +surfraw -p searx $query > /tmp/w3m_target_url