summaryrefslogtreecommitdiff
path: root/Biz/Ide
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Ide')
-rwxr-xr-xBiz/Ide/ftags.sh4
-rwxr-xr-xBiz/Ide/hoog.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/Biz/Ide/ftags.sh b/Biz/Ide/ftags.sh
index 4b8396b..77646da 100755
--- a/Biz/Ide/ftags.sh
+++ b/Biz/Ide/ftags.sh
@@ -5,7 +5,7 @@
set -euo pipefail
tags=$BIZ_ROOT/tags
tag_search=$(
- awk 'BEGIN { FS="\t" } !/^!/ {print toupper($4)"\t"$1"\t"$2"\t"$3}' $tags \
+ awk 'BEGIN { FS="\t" } !/^!/ {print toupper($4)"\t"$1"\t"$2"\t"$3}' "$tags" \
| cut -c1-80 \
| fzf \
--nth=1,2 \
@@ -13,7 +13,7 @@
--preview "rg --ignore-case --pretty --context 2 --word-regexp {+2}"
)
${EDITOR:-vim} \
- $(cut -f3 <<< "$tag_search") \
+ "$(cut -f3 <<< "$tag_search")" \
-c "set nocst" \
-c "silent tag $(cut -f2 <<< "$tag_search")"
##
diff --git a/Biz/Ide/hoog.sh b/Biz/Ide/hoog.sh
index 5379e54..3945f90 100755
--- a/Biz/Ide/hoog.sh
+++ b/Biz/Ide/hoog.sh
@@ -4,7 +4,7 @@
#
set -euo pipefail
HOOG="hoogle search --count=200"
- export FZF_DEFAULT_COMMAND="$HOOG $@"
+ export FZF_DEFAULT_COMMAND="$HOOG $*"
fzf \
--preview-window=down \
--preview "hoogle search --link --info {+2}" \