Skip to content
Newer
Older
100755 52 lines (38 sloc) 1.16 KB
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
1 #!/bin/bash
2
f8b45ce @javierjulio Create vars for dotfiles and laptop paths
authored Aug 20, 2014
3 DOTFILES_PATH="$HOME/Projects/dotfiles"
4 LAPTOP_PATH="$HOME/Projects/laptop"
5
6
7 if [ -d "$DOTFILES_PATH" ]; then
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
8 echo "My dotfiles already installed."
9 else
10 echo "Installing my dotfiles..."
f8b45ce @javierjulio Create vars for dotfiles and laptop paths
authored Aug 20, 2014
11 git clone https://github.com/javierjulio/dotfiles.git "$DOTFILES_PATH"
12 cd "$DOTFILES_PATH"
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
13 rake install
14 fi
c1a0e80 @javierjulio Output message when installing dotfiles and git.
authored May 10, 2013
15
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
16 shopt -s expand_aliases
fb09ecf @javierjulio Replace ~ with $HOME and configure any paths
authored Aug 14, 2014
17 source $HOME/.bashrc
fde2fbf @javierjulio Reload the bash session so we will use our new dotfiles
authored May 11, 2012
18 reload
2c6e111 @javierjulio Add commented out dotfiles installation. Not yet sure if this can rea…
authored May 11, 2012
19
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
20 if type brew &>/dev/null; then
21 echo -e "\nUpdating Homebrew formula..."
5600e94 @javierjulio Update homebrew installation command and install git using homebrew.
authored May 10, 2013
22 brew update
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
23 else
24 echo -e "\nInstalling Homebrew..."
25 ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
524f04b @javierjulio Add symlink fix for ImageMagick lib files so rmagick gem will install…
authored May 16, 2013
26 fi
27
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
28 # grc - http://wynnnetherland.com/journal/a-stylesheet-author-s-guide-to-terminal-colors
29 # gawk - used for matching for colorizing (e.g. match-todos)
50ca939 @javierjulio Add git-lfs installation
authored Feb 22, 2016
30 brew install git git-lfs bash-completion grc gawk pkgconfig ghostscript imagemagick postgresql redis
31
32 # Git LFS is a command line extension and specification for managing large files with Git.
33 git lfs install --force
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
34
35 echo -e "\nRead following Postgres info to setup auto start."
36 pause_and_prompt_to_continue
37
38 brew info postgresql
39
40 pause_and_prompt_to_continue
863ec05 @javierjulio The init script, installs key items first and then goes in order: rub…
authored Jan 10, 2012
41
f8b45ce @javierjulio Create vars for dotfiles and laptop paths
authored Aug 20, 2014
42 cd "$LAPTOP_PATH"
863ec05 @javierjulio The init script, installs key items first and then goes in order: rub…
authored Jan 11, 2012
43
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
44 ./cloud66
45 ./projects
46 ./ruby
47 ./python
48 ./node
56f7990 @javierjulio Add bats script to install Bats (bash testing)
authored Aug 14, 2014
49 ./bats
0fe5e44 @javierjulio Update to install bash-completion and source scripts and new coda one.
authored Feb 27, 2014
50
094bb18 @javierjulio Major update: script add/update, cloud66 support
authored Jul 24, 2014
51 echo -e "\nDone."
Something went wrong with that request. Please try again.