commit 1e830ae3dc0f01779a6cc24451e2907006ba6d1d
parent 41adf77fff2feb29c64dc8d88647f0e919944be8
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Sun, 13 Feb 2022 10:21:52 +0100
Fixed previous fix (multiple selection)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu-filepicker b/dmenu-filepicker
@@ -15,7 +15,7 @@ while true; do
break
elif [ -d "$fullpath" ]; then
sel=$(ls -a "$fullpath" | sed 's|.*/||' | $menu $menuopts)
- fullpath=$(printf "$fullpath/%s\n" "$sel")
+ fullpath=$(echo "$sel" | sed "s|^|$fullpath/|")
else
echo "$fullpath"
break