From fffb29d695141ef84b7517bc0922c8c103456588 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Wed, 3 Aug 2011 22:57:27 -0500 Subject: [PATCH] Speed up rbenv-rehash by using hard links --- libexec/rbenv-rehash | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libexec/rbenv-rehash b/libexec/rbenv-rehash index c57eab6d..6254d0aa 100755 --- a/libexec/rbenv-rehash +++ b/libexec/rbenv-rehash @@ -1,15 +1,19 @@ #!/usr/bin/env bash -e +create_prototype_shim() { + cat > .rbenv-shim < "$shim" <