├── Makefile ├── .vim └── ftplugin │ ├── clojure.vim │ └── python.vim ├── setup.sh ├── README.md ├── .vimrc ├── .Xresources ├── .bash_profile ├── .gitmodules └── .bash_profile_fake /Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | sh setup.sh 3 | clean: 4 | -------------------------------------------------------------------------------- /.vim/ftplugin/clojure.vim: -------------------------------------------------------------------------------- 1 | :RainbowParenthesesToggleAll 2 | -------------------------------------------------------------------------------- /.vim/ftplugin/python.vim: -------------------------------------------------------------------------------- 1 | set tabstop=4 2 | set softtabstop=4 3 | set shiftwidth=4 4 | -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | # Install Node dependencies 2 | npm install -g yo 3 | npm install -g bower 4 | npm install -g grunt-cli 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ... 2 | 3 | Quick-setup for new Mac for full-stack development. Additionally, contains 4 | .vimrc, .vim, etc. 5 | 6 | ## Install 7 | 8 | Copy files to home directory. 9 | 10 | 11 | ## Note 12 | 13 | Some things needs to be manually installed. Namely: 14 | 15 | * Pathogen for vim 16 | 17 | 18 | # UNLICENSE 19 | 20 | Unlicense 21 | -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | " Try to enable pathogen 2 | silent! call pathogen#infect() 3 | 4 | " Basic tabbing and highlighting stuff 5 | syntax on 6 | filetype on 7 | filetype plugin on 8 | filetype plugin indent on 9 | set tabstop=2 10 | set softtabstop=2 11 | set shiftwidth=2 12 | set expandtab 13 | set nowrap 14 | set autoindent 15 | 16 | " Setup environment 17 | set ruler 18 | 19 | " Plugin: bbye 20 | silent! nnoremap q :Bdelete 21 | -------------------------------------------------------------------------------- /.Xresources: -------------------------------------------------------------------------------- 1 | ! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night: 2 | ! ! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim 3 | ! ! vim: ft=xdefaults 4 | 5 | *background: #1D1F21 6 | *foreground: #C5C8C6 7 | ! black 8 | *color0: #282A2E 9 | *color8: #373B41 10 | ! red 11 | *color1: #A54242 12 | *color9: #CC6666 13 | ! green 14 | *color2: #8C9440 15 | *color10: #B5BD68 16 | ! yellow 17 | *color3: #DE935F 18 | *color11: #F0C674 19 | ! blue 20 | *color4: #5F819D 21 | *color12: #81A2BE 22 | ! magenta 23 | *color5: #85678F 24 | *color13: #B294BB 25 | ! cyan 26 | *color6: #5E8D87 27 | *color14: #8ABEB7 28 | ! white 29 | *color7: #707880 30 | *color15: #C5C8C6 31 | -------------------------------------------------------------------------------- /.bash_profile: -------------------------------------------------------------------------------- 1 | export GREP_OPTIONS='--color=auto' 2 | export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m -Djava.awt.headless=true" 3 | export CLICOLOR=1 4 | export LSCOLORS=gxFxCxDxbxegedabagacad 5 | export JAVA_HOME=`/usr/libexec/java_home` 6 | 7 | export LEIN_JAVA_CMD="drip -cp clojure.jar clojure.main" 8 | 9 | alias l="ls -l" 10 | alias ll="ls -la" 11 | 12 | if [ -f ~/.profile ]; 13 | then 14 | . ~/.profile; 15 | fi 16 | 17 | 18 | # autocomplete for git 19 | if [ -f `brew --prefix`/etc/bash_completion ]; then 20 | . `brew --prefix`/etc/bash_completion 21 | fi 22 | 23 | # PArse Git Branch 24 | function parse_git_branch () { 25 | git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' 26 | } 27 | 28 | # Update command prompt 29 | export PS1="\[\e[0;36m\]\W\[\e[0;96m\]\$(parse_git_branch) 🍕 \[\e[m\]" 30 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule ".vim/bundle/vim-bbye"] 2 | path = .vim/bundle/vim-bbye 3 | url = https://github.com/moll/vim-bbye.git 4 | [submodule ".vim/bundle/vim-clojure-static"] 5 | path = .vim/bundle/vim-clojure-static 6 | url = https://github.com/guns/vim-clojure-static.git 7 | [submodule ".vim/bundle/vim-clojure-highlight"] 8 | path = .vim/bundle/vim-clojure-highlight 9 | url = https://github.com/guns/vim-clojure-highlight.git 10 | [submodule ".vim/bundle/rainbow_parentheses.vim"] 11 | path = .vim/bundle/rainbow_parentheses.vim 12 | url = https://github.com/kien/rainbow_parentheses.vim.git 13 | [submodule ".vim/bundle/syntastic"] 14 | path = .vim/bundle/syntastic 15 | url = https://github.com/scrooloose/syntastic.git 16 | [submodule ".vim/bundle/vim-easy-align"] 17 | path = .vim/bundle/vim-easy-align 18 | url = https://github.com/junegunn/vim-easy-align.git 19 | [submodule ".vim/bundle/vim-fireplace"] 20 | path = .vim/bundle/vim-fireplace 21 | url = https://github.com/tpope/vim-fireplace.git 22 | [submodule ".vim/bundle/vim-javascript"] 23 | path = .vim/bundle/vim-javascript 24 | url = https://github.com/pangloss/vim-javascript.git 25 | -------------------------------------------------------------------------------- /.bash_profile_fake: -------------------------------------------------------------------------------- 1 | #export PS1="\e[0;31m\u \e[0;33m\W 🍕 \e[m" 2 | 3 | # Load CXP aliases if they are available 4 | if [ -f "/cxp-code/CXPInfrastructure/environment/cxpAliases" ] 5 | then 6 | source /cxp-code/CXPInfrastructure/environment/cxpAliases 7 | fi 8 | 9 | if [ -f "/mindtap-code/mindapp-clhomework/environment/clhAliases" ] 10 | then 11 | source /mindtap-code/mindapp-clhomework/environment/clhAliases 12 | fi 13 | 14 | source /mindtap-code/ng-istruct/build-scripts/mindtapAliases 15 | source /mindtap-code/ng-istruct/build-scripts/git-prompt.sh 16 | source /mindtap-code/ng-istruct/build-scripts/git-completion.sh 17 | 18 | export GREP_OPTIONS='--color=auto' 19 | export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m -Djava.awt.headless=true" 20 | export GIT_PS1_SHOWDIRTYSTATE=true 21 | export GIT_PS1_SHOWUNTRACKEDFILES=true 22 | # export GIT_PS1_SHOWSTASHSTATE=true 23 | # export GIT_PS1_SHOWUPSTREAM="verbose" 24 | export GIT_PS1_SHOWCOLORHINTS=true 25 | # export PROMPT_COMMAND='__git_ps1 "\[\e[1;33m\]\u@\h\[\e[1;36m\] \W\[\e[0m\]" "$ "' 26 | export PROMPT_COMMAND='__git_ps1 "\e[0;31m\u \e[0;33m\W 🍕 \e[m" "$ "' 27 | export CLICOLOR=1 28 | export LSCOLORS=gxFxCxDxbxegedabagacad 29 | export CATALINA_HOME="/mindtap/tomcat/" 30 | export CATALINA_PID="12345" 31 | export CATALINA_OPTS="-Xms256m -Xmx2048m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m" 32 | export PATH=/mindtap/mongo/bin:/mindtap/mysql/bin:/mindtap-code/ng-istruct/build-scripts:/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH 33 | export JAVA_HOME=`/usr/libexec/java_home` 34 | if [ -f ~/.profile ]; 35 | then 36 | . ~/.profile; 37 | fi 38 | 39 | [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* 40 | 41 | --------------------------------------------------------------------------------