9 lines
130 B
Bash
9 lines
130 B
Bash
#!/bin/zsh
|
|
selection=$(fzf)
|
|
|
|
selection=$(echo $selection | sed 's,/[^/]*$,,')
|
|
|
|
if [ ! $selection = "\S" ]; then
|
|
cd $selection
|
|
fi
|