h-m/fish: ddg no redirect
This commit is contained in:
parent
f7bc60aeb4
commit
b243c83c1f
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@
|
||||||
functions = {
|
functions = {
|
||||||
ddg = ''
|
ddg = ''
|
||||||
if count $argv > /dev/null
|
if count $argv > /dev/null
|
||||||
${pkgs.w3m}/bin/w3m +15 "https://lite.duckduckgo.com/lite?q=$argv"
|
${pkgs.w3m}/bin/w3m +15 "https://lite.duckduckgo.com/lite?kd=-1&q=$argv"
|
||||||
else
|
else
|
||||||
${pkgs.w3m}/bin/w3m https://lite.duckduckgo.com
|
${pkgs.w3m}/bin/w3m "https://lite.duckduckgo.com/lite?kd=-1"
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue