diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-01-24 10:35:59 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-01-24 10:35:59 +0530 |
commit | 18507fd21b7a7709133d8f3049c683e1abffcda2 (patch) | |
tree | d43bc141b2e588300e639bdb4f004ad6945e6081 /.local/bin/fmd | |
parent | e02304f014645a01ef6cdd40276997dea58504d9 (diff) |
jupyter update
Diffstat (limited to '.local/bin/fmd')
-rwxr-xr-x | .local/bin/fmd | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/.local/bin/fmd b/.local/bin/fmd index 0139d77..72e5542 100755 --- a/.local/bin/fmd +++ b/.local/bin/fmd @@ -6,16 +6,7 @@ export PREVIEW="${PREVIEW:-"cat \"\$(dirname {})/.description/\${\$(basename {})%.*}.txt\" 2>/dev/null || preview {}"}" -find "$@" -type f \ - ! -path '*/.*' \ - ! -name '*.srt' \ - ! -name '*.vtt' \ - ! -name '*.description' \ - ! -wholename '.description/*' \ - ! -name '*.info.json' \ - ! -name '*.live_chat.json' \ - ! -name '*.yt*' | - sort | +fd -I --color=always --type=file --ignore-file="${XDG_CONFIG_HOME:-$HOME/.config}/ytignore" "$@" | sort | fzf --multi --reverse \ --history="${FZF_HIST:=$HOME/.local/share/fzf/media_history}" \ --header="${FZF_HEADER:-Browse Media Files}" --header-first \ |