X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/d43e125cb172eb4b8c5c04480ad7b686e82638a5..5fa85a684462df45aac4003f8a5f5375b7b1b5de:/vcsh?ds=sidebyside 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 }