summaryrefslogtreecommitdiff
path: root/.local/bin/fw
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-01-24 10:35:59 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-01-24 10:35:59 +0530
commit18507fd21b7a7709133d8f3049c683e1abffcda2 (patch)
treed43bc141b2e588300e639bdb4f004ad6945e6081 /.local/bin/fw
parente02304f014645a01ef6cdd40276997dea58504d9 (diff)
jupyter update
Diffstat (limited to '.local/bin/fw')
-rwxr-xr-x.local/bin/fw9
1 files changed, 5 insertions, 4 deletions
diff --git a/.local/bin/fw b/.local/bin/fw
index ada20e8..75f23af 100755
--- a/.local/bin/fw
+++ b/.local/bin/fw
@@ -1,10 +1,11 @@
#!/bin/sh
-export FZF_HIST="$HOME/.local/share/fzf/wiki_history"
+export FZF_HIST="${XDG_DATA_HOME:-$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 \
+export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --delimiter='/' --with-nth=-3.."
+fmd . \
/mnt/storage/Media/Tech/ \
/mnt/storage/Library \
/usr/share/doc/arch-wiki/html/en \
- "$@" ! -name '*.css'
+ --exclude '*.css' \
+ "$@"