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