#compdef gcd

local root
root=$(git rev-parse --show-toplevel 2>/dev/null)

[ -n "$root" ] && _path_files -/ -W "$root"
