Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated for rvm

  • Loading branch information...
commit 6283bd6b664802609ce04fe6de2998ae04a4f4ab 1 parent d5e73ae
@twooster authored
Showing with 8 additions and 2 deletions.
  1. +3 −1 home/.bash_profile
  2. +2 −1  home/.bashrc
  3. +3 −0  reverse-install.sh
View
4 home/.bash_profile
@@ -1 +1,3 @@
-source ~/.bashrc
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
+. ~/.bashrc
+
View
3  home/.bashrc
@@ -214,6 +214,7 @@ fi
# FINALIZE SETUP
#-------------------------------------------------------------------------------
-[[ -s "~/.rvm/scripts/rvm" ]] && source "~/.rvm/scripts/rvm" # This loads RVM into a shell session.
+#PATH=$HOME/.rvm/bin:$PATH # Add RVM to PATH for scripting
. ~/.prompt.bash
+
View
3  reverse-install.sh
@@ -7,6 +7,9 @@
# -r raw mode, ignoring backslashes
while IFS= read -r file; do
if [[ -f "$HOME/$file" && "$HOME/$file" -nt "$prefix/$file" ]]; then
+ echo "Copying newer file: $file"
cp "$HOME/$file" "$prefix/$file"
+ else
+ echo "Skipping older file: $file"
fi
done < to-be-installed
Please sign in to comment.
Something went wrong with that request. Please try again.