commit 41adf77fff2feb29c64dc8d88647f0e919944be8
parent 3f190a17b90cb3c641ca0ead72eb86ec3dd36651
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Sun, 13 Feb 2022 10:11:06 +0100
Fixed for spaces in file names
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=$(printf "$fullpath/%s\n" "$sel")
else
echo "$fullpath"
break