8 lines
167 B
Bash
Executable file
8 lines
167 B
Bash
Executable file
#!/bin/sh
|
|
|
|
root=$1
|
|
shift 1
|
|
if [ -n "$*" ]
|
|
then find $root -type d -name .git | xargs dirname | fzf -q "$*"
|
|
else find $root -type d -name .git | xargs dirname | fzf
|
|
fi
|