aboutsummaryrefslogtreecommitdiff
path: root/dmenu-filepicker
diff options
context:
space:
mode:
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 3e7182b..15d7e40 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=$(echo "$sel" | sed "s|^|$fullpath/|")
19 else 19 else
20 echo "$fullpath" 20 echo "$fullpath"
21 break 21 break

Generated with cgit - Back to sebastiano.tronto.net