citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

ddg (144B)


      1 #!/usr/bin/env bash
      2 
      3 set -eou pipefail
      4 
      5 DDG_MENU=${DDG_MENU:-fzf}
      6 
      7 ddgr --json "$@" | jq -r '.[] | [.title,.url] | @tsv' | $DDG_MENU | cutt -f2