From 4d7fbc33a139d6484ae86c45b570b2c99fc737ef Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Thu, 4 Dec 2025 18:05:00 +0200 Subject: Test --- home/fast-p/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 home/fast-p/README.md (limited to 'home/fast-p/README.md') diff --git a/home/fast-p/README.md b/home/fast-p/README.md new file mode 100644 index 0000000..344c387 --- /dev/null +++ b/home/fast-p/README.md @@ -0,0 +1,5 @@ +Should be run as nushell function + +def p [] { +^fd -e pdf | ^fast-p | ^fzf --read0 --reverse -e -d "\t" --preview-window "down:80%" --preview 'v=$(echo {q} | tr " " "|"); echo -e {1}"\n"{2} | grep -E "^|$v" -i --color=always;' | ^cut -z -f 1 -d "\t" | ^tr -d '\n' | ^xargs -r --null xdg-open > /dev/null err> /dev/null +} -- cgit v1.2.3-70-g09d2