Fix - fzfcd would quit when no path is chosen and cd to ~

This commit is contained in:
mequidis
2022-02-20 09:16:41 +02:00
parent 665cfda8d3
commit 5a4dfdb67b

View File

@ -3,4 +3,6 @@ selection=$(fzf)
selection=$(echo $selection | sed 's,/[^/]*$,,')
if [ ! $selection = "\S" ]; then
cd $selection
fi