aboutsummaryrefslogtreecommitdiff
path: root/dmenu-filepicker
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-02-13 10:11:06 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-02-13 10:11:06 +0100
commit41adf77fff2feb29c64dc8d88647f0e919944be8 (patch)
tree1a3b6c432a16b5b4ccdbf75fbff71c884104e828 /dmenu-filepicker
parent3f190a17b90cb3c641ca0ead72eb86ec3dd36651 (diff)
downloadscripts-41adf77fff2feb29c64dc8d88647f0e919944be8.tar.gz
scripts-41adf77fff2feb29c64dc8d88647f0e919944be8.zip
Fixed for spaces in file names
Diffstat (limited to 'dmenu-filepicker')
-rwxr-xr-xdmenu-filepicker2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu-filepicker b/dmenu-filepicker
index 7538008..3e7182b 100755
--- a/dmenu-filepicker
+++ b/dmenu-filepicker
@@ -15,7 +15,7 @@ while true; do
15 break 15 break
16 elif [ -d "$fullpath" ]; then 16 elif [ -d "$fullpath" ]; then
17 sel=$(ls -a "$fullpath" | sed 's|.*/||' | $menu $menuopts) 17 sel=$(ls -a "$fullpath" | sed 's|.*/||' | $menu $menuopts)
18 fullpath=$(printf "$fullpath/%s\n" $sel) 18 fullpath=$(printf "$fullpath/%s\n" "$sel")
19 else 19 else
20 echo "$fullpath" 20 echo "$fullpath"
21 break 21 break

Generated with cgit - Back to sebastiano.tronto.net