summaryrefslogtreecommitdiff
path: root/Biz/Ide/hoog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Ide/hoog.sh')
-rwxr-xr-xBiz/Ide/hoog.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/Biz/Ide/hoog.sh b/Biz/Ide/hoog.sh
deleted file mode 100755
index 237eb78..0000000
--- a/Biz/Ide/hoog.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-#
-# search hoogle with fzf
-#
- set -euo pipefail
- HOOG="hoogle search --count=200"
- export FZF_DEFAULT_COMMAND="$HOOG $*"
- result=$(fzf-tmux \
- --preview-window=down,border-none \
- --preview "hoogle search --link --info {+2}" \
- --bind "change:reload:$HOOG {q} || true" \
- --ansi \
- | cut -d' ' -f 1,2 \
- | sed -e 's/ /./g'
- )
- hoogle search --info "$result"
-##