From a4b655707a6b092c082b2e915ed4b1938e746cbd Mon Sep 17 00:00:00 2001 From: joe Date: Fri, 24 Oct 2025 01:05:58 +0200 Subject: up --- .config/nnn/plugins/joe_rand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nnn/plugins/joe_rand') diff --git a/.config/nnn/plugins/joe_rand b/.config/nnn/plugins/joe_rand index edc71c1..100181a 100755 --- a/.config/nnn/plugins/joe_rand +++ b/.config/nnn/plugins/joe_rand @@ -13,7 +13,7 @@ . "$(dirname "$0")"/.nnn-plugin-helper file=$(command ls | shuf | head -n1 | tr -d '\n') -printf "%s" "0l$file" > "$NNN_PIPE" +printf "%s" "0c$PWD/$file" > "$NNN_PIPE" # printf "%s" "+l" > "$NNN_PIPE" # if type mimetype >/dev/null 2>&1; then # find . | mimetype -f - | grep "$mime" | awk -F: '{printf "%s%c", $1, 0}' > "$NNN_PIPE" -- cgit v1.2.3