Update zshrc and moved install script to mac_automation_scripts repo

James Peret 7 years ago
parent
commit
160ea723eb
4 changed files with 22 additions and 73 deletions
  1. 0 70
      installer.sh
  2. 7 1
      makesymlinks.sh
  3. 12 2
      readme.md
  4. 3 0
      zshrc

+ 0 - 70
installer.sh

@@ -1,70 +0,0 @@
1
-
2
-echo "Installing basic dependencies"
3
-
4
-# install Git
5
-echo "Installing git"
6
-sudo port install git-core +svn +doc +bash_completion +gitweb
7
-
8
-# Install zShell
9
-echo "Installing zShell"
10
-sh makesymlinks.sh
11
-
12
-# Install homebrew
13
-echo "Installing homebrew"
14
-ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
15
-
16
-# Install Cask
17
-echo "Installing brew cask"
18
-brew tap phinze/cask
19
-brew install brew-cask
20
-
21
-# Install RVM
22
-echo "Installing RVM - Ruby Version Manager"
23
-\curl -L https://get.rvm.io | bash -s stable
24
-
25
-# Install Node
26
-echo "Installing node.js"
27
-brew cask install --caskroom="/opt/homebrew-cask/Caskroom" node
28
-
29
-# install NVM
30
-echo "Installing NVM - Node Version Manager"
31
-curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
32
-
33
-# ----------------------------
34
-
35
-echo "Installing brew cask apps"
36
-brewCaskApps=(atom dropbox google-chrome firefox iterm2 evernote rescuetime transmit dash postgres mou monodraw sketch-toolbox unity unity-web-player bfxr sonic-pi xact slack skype vlc transmission sitesucker the-unarchiver appcleaner hyperswitch)
37
-
38
-brew cask install ${brewCaskApps[@]}
39
-
40
-# Install youtube-dl
41
-echo "Installing youtube-dl"
42
-sudo curl https://yt-dl.org/downloads/2013.09.24.2/youtube-dl -o /usr/local/bin/youtube-dl
43
-sudo chmod a+x /usr/local/bin/youtube-dl
44
-
45
-# Install ImageMagick
46
-echo "Installing ImageMagik"
47
-brew install pkgconfig
48
-brew install imagemagick
49
-
50
-# tmux
51
-echo "Installing tmux and teamocil"
52
-brew install tmux
53
-gem install teamocil
54
-mkdir $HOME/.teamocil
55
-cp teamocil/avalanche.yml $HOME/.teamocil/avalanche.yml
56
-
57
-echo ""
58
-echo ""
59
-echo "ALL DONE"
60
-echo ""
61
-echo ""
62
-
63
-echo "To Do's"
64
-echo "- Confiture tmux: https://gist.github.com/simme/1297707"
65
-echo ""
66
-echo "Now install:"
67
-echo "- Adobe CS6 (Photoshop, Illustrator, InDesign, After Effects)"
68
-echo "- iWork (Pages, Numbers, Keynote)"
69
-echo ""
70
-echo ""

+ 7 - 1
makesymlinks.sh

@@ -56,4 +56,10 @@ else
56 56
 fi
57 57
 }
58 58
 
59
-install_zsh
59
+function install_teamocil_files {
60
+  mkdir $HOME/.teamocil
61
+  cp teamocil/avalanche.yml $HOME/.teamocil/avalanche.yml
62
+}
63
+
64
+install_zsh
65
+install_teamocil_files

+ 12 - 2
readme.md

@@ -1,7 +1,17 @@
1 1
 # James Peret's DotFiles
2 2
 
3
-### Installation
3
+## Installation
4
+
5
+There are two ways to install **James Peret's DotFiles**. One is to just download this repo and install dependecies and the other installs and configures all the software that I need on a fresh mac install.
6
+
7
+#### Standalone
4 8
 
5 9
 1. Install xCode
6 10
 2. Install MacPorts
7
-3. `sh install.sh`
11
+4. Download this [package](https://github.com/jamesperet/dotfiles/archive/master.zip) and unzipit
12
+4. Open the folder with `cd dotfiles`
13
+3. Run `sh makesymlinks.sh`
14
+
15
+#### Automated
16
+
17
+Use the [mac_automation_scripts](http://gogs.jamesperet.com/jamesperet/mac-automation-scripts) project to donwload and install all dependencies and automaticly download and configure this dotfile repository.

+ 3 - 0
zshrc

@@ -61,3 +61,6 @@ compctl -g '~/.teamocil/*(:t:r)' teamocil
61 61
 
62 62
 # Cask Options
63 63
 export HOMEBREW_CASK_OPTS="--caskroom=/Applications"
64
+
65
+# NVM
66
+source $(brew --prefix nvm)/nvm.sh