dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0c5d915b2f2b879f471c63dd01d90703c0cbf818
parent a06c1b685dd186c38ad45fd867396296dda7589f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat, 18 Apr 2020 14:17:05 +0200

Fix search of multi-line strings

Diffstat:
M.local/bin/search | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/search b/.local/bin/search @@ -61,7 +61,7 @@ elif regeximatch "$c" '!yt'; then fi elif regexmatch "$c" ' '; then - plumb "https://duckduckgo.com/?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g')&kae=d&kau=-1&kao=-1&kap=-1&kaq=-1&kax=-1&kak=-1&kv=-1&kk=-1&k1=-1&kc=-1" + plumb "https://duckduckgo.com/?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g;s/ /%20/g')&kae=d&kau=-1&kao=-1&kap=-1&kaq=-1&kax=-1&kak=-1&kv=-1&kk=-1&k1=-1&kc=-1" else plumb "http://${c}"