Skip to content

Instantly share code, notes, and snippets.

@dnaumenko
Last active May 19, 2019 10:12
Show Gist options
  • Save dnaumenko/95bbaa4370b577370773e1477c2ffcb1 to your computer and use it in GitHub Desktop.
Save dnaumenko/95bbaa4370b577370773e1477c2ffcb1 to your computer and use it in GitHub Desktop.
setup.sh
# vcs
brew install git
# jvm
brew install maven
brew install jenv # jenv local/global 1.8 to change if needed
# export PATH="$HOME/.jenv/bin:$PATH" in bash profile
# eval "$(jenv init -)"
# scala
brew install scala
brew install sbt
# haskell
brew install stack
brew install ghc
brew install gtk+ gtk-mac-integration
# /etc/profile
##################################
# System-wide .profile for sh(1)
##################################
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
D=$'\e[0m'
GREEN=$'\e[32;50m'
ORANGE=$'\e[33;50m'
git_branch() {
git branch 2> /dev/null | grep '* ' | cut -d ' ' -f 2 | awk '{print $0}'
}
export LANG="en_US.UTF-8"
export PS1='\n\u at ${ORANGE}\h${D} in ${GREEN}\w${D} $(git_branch)${D}\n\t $ '
#######################
# Download from sites:
http://hackage.haskell.org/package/threadscope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment