5# For simplicity, installing cabal-meta and Stack for both the Cabal and Stack
6# build plans, even though they're never both necessary.
9if [ `uname` = "Darwin" ]
11 curl -L https://www.stackage.org/stack/osx-x86_64 | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin
14 curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
15 curl -L http://download.fpcomplete.com/michael/cabal-meta.tar.gz | tar xz -C $HOME/.local/bin
19cat > $HOME/.cabal/config <<EOF
20remote-repo: hackage.haskell.org:http://hackage.fpcomplete.com/
21remote-repo-cache: $HOME/.cabal/packages
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list