9 lines
132 B
Fish
9 lines
132 B
Fish
#!/bin/fish
|
|
set selection (fzf)
|
|
|
|
set selection (echo $selection | sed 's,/[^/]*$,,')
|
|
|
|
if [ ! $selection = "\S" ]
|
|
cd $selection
|
|
end
|