Skip to content

Commit

Permalink
A wrapper to facilitate rvm use in tcsh.
Browse files Browse the repository at this point in the history
  • Loading branch information
threedaymonk committed Mar 28, 2011
1 parent d5533e4 commit 838db2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rvm.tcsh
@@ -0,0 +1,9 @@
#!/usr/bin/env tcsh

set rvm_command="source ${HOME}/.rvm/scripts/rvm; rvm $*"

if ($1 == "use") then
bash -c "$rvm_command; tcsh"
else
bash -c "$rvm_command"
endif

0 comments on commit 838db2e

Please sign in to comment.