diff --git a/libexec/rbenv-rehash b/libexec/rbenv-rehash index c0096616..96305478 100755 --- a/libexec/rbenv-rehash +++ b/libexec/rbenv-rehash @@ -1,14 +1,28 @@ #!/usr/bin/env bash -e +make_shims() { + local glob="$@" + + for file in $glob; do + local shim="${file##*/}" + cat > "$shim" < "$shim" <