summaryrefslogtreecommitdiff
path: root/bin/common/fzfdirfile
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-28 11:30:00 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-28 11:30:00 +0200
commitd3374ddd385dc794e9d57f775baebd1aa8066191 (patch)
treef677cd4e9d2c48e351d28e56e96b1186c426e9f4 /bin/common/fzfdirfile
parent91d62c119070a3bb3a92bf10accf827c5dc5d5c3 (diff)
use one fhome script instead of three one liner scripts
Diffstat (limited to 'bin/common/fzfdirfile')
-rwxr-xr-xbin/common/fzfdirfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common/fzfdirfile b/bin/common/fzfdirfile
index df0e51a..18110ea 100755
--- a/bin/common/fzfdirfile
+++ b/bin/common/fzfdirfile
@@ -1,2 +1,2 @@
#!/usr/bin/env sh
-dirname "$(find "${1:-$HOME}" -type f 2> /dev/null | fzf)"
+dirname "$(fzhome | fzf)"