summaryrefslogtreecommitdiff
path: root/.local/bin/fw
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2024-11-21 13:30:52 +0530
committerVikas Kushwaha <dev@vikas.rocks>2024-11-21 13:30:52 +0530
commit5c916d69d457101326803eb076a746060e3618cf (patch)
treed6fce3256eede1c1bf78fb6a1be75b9cc4b84cee /.local/bin/fw
Moved from github
Diffstat (limited to '.local/bin/fw')
-rwxr-xr-x.local/bin/fw10
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/fw b/.local/bin/fw
new file mode 100755
index 0000000..ada20e8
--- /dev/null
+++ b/.local/bin/fw
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+export FZF_HIST="$HOME/.local/share/fzf/wiki_history"
+export FZF_HEADER="Search local wiki files"
+export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --delimiter='/' --with-nth=-1"
+fmd \
+ /mnt/storage/Media/Tech/ \
+ /mnt/storage/Library \
+ /usr/share/doc/arch-wiki/html/en \
+ "$@" ! -name '*.css'