X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/9d3524ea22656ad4490d2ad6d623b976333c6183..68ed073de69ed5c5a0ca176ca4d82869b830fc14:/vcsh diff --git a/vcsh b/vcsh index 3937d2b..c6ea395 100755 --- a/vcsh +++ b/vcsh @@ -133,8 +133,8 @@ init() { } list() { - for i in "$VCSH_REPO_D"/*.git; do - echo $(basename "$i" .git) + for repo in "$VCSH_REPO_D"/*.git; do + [ -r "$repo" ] && echo $(basename "$repo" .git) done }