daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function tab () {
  2.   CURRENT_RVM=$rvm_ruby_string
  3.   osascript 2>/dev/null <<EOF
  4.     tell application "System Events"
  5.       tell process "Terminal" to keystroke "t" using command down
  6.         end
  7.         tell application "Terminal"
  8.       activate
  9.       do script with command "cd $PWD; rvm $CURRENT_RVM; $*" in window 1
  10.     end tell
  11.     tell application "System Events"
  12.       tell process "Terminal" to keystroke "{" using command down
  13.         end
  14. EOF
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top