Created
March 1, 2012 21:15
-
-
Save englishm/1953272 to your computer and use it in GitHub Desktop.
set up a session for trying examples from http://learnyouahaskell.com/chapters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind-key H source-file ~/tm-haskell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new-session -d -s haskell | |
split-window -d -h -t haskell:1.0 | |
split-window -d -t haskell:1.1 | |
send-keys -t haskell:1.0 "cd /Users/english/code/haskell/ && vim baby.hs" Enter | |
send-keys -t haskell:1.1 "cd /Users/english/code/haskell/ && ghci" Enter | |
send-keys -t haskell:1.1 ":set prompt \"ghci> \"" Enter | |
send-keys -t haskell:1.2 "cd /Users/english/code/haskell/ && ./listen.rb" Enter | |
selectp -t haskell:1.0 | |
switch-client -t haskell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment