#compdef src rc
dfpath="$(wd path df)"

out=()

__read_dir() {
  dir="$1"
  res=($(find $1 -print | sed "s/${1//\//\\/}\///"))

  for i in $res; do
    # echo "checking path: $1/$i"
    if [[ -f "$1/$i" ]] && [[ ! $i =~ \b\.git\b ]]; then
      out+=("$i")
    fi
  done
}

cd "$dfpath"
__read_dir .

_describe 'dotfile' out
# echo $out
