dotfiles

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

fzf-surfraw (258B)


      1 #!/bin/sh
      2 # Fzf search engine, print search URL
      3 elvi="$(surfraw -elvi | sed '1,/LOCAL/d' | fzf | cut -f1)"
      4 [ -z "$elvi" ] && exit
      5 query="$(fzf --print-query --prompt="$elvi >> Search: " --info=hidden --layout=reverse </dev/null)"
      6 surfraw -p "$elvi" "$query"