Organized dotfiles dev files

jamesperet 10 years ago
parent
commit
2c5f4cfe9b
5 changed files with 58 additions and 6 deletions
  1. 13 0
      .gitignore
  2. 34 0
      installer.sh
  3. 1 1
      makesymlinks.sh
  4. 7 0
      readme.md
  5. 3 5
      zshrc

+ 13 - 0
.gitignore

@@ -0,0 +1,13 @@
1
+# Dont track dotfiles installed files
2
+bashrc
3
+oh-my-zsh/
4
+
5
+# OS generated files #
6
+######################
7
+.DS_Store
8
+.DS_Store?
9
+._*
10
+.Spotlight-V100
11
+.Trashes
12
+ehthumbs.db
13
+Thumbs.db

+ 34 - 0
installer.sh

@@ -0,0 +1,34 @@
1
+# install Git
2
+sudo port install git-core +svn +doc +bash_completion +gitweb
3
+
4
+# Install zShell
5
+sh makesymlinks.sh
6
+
7
+# Install homebrew
8
+ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
9
+
10
+# Install RVM
11
+\curl -L https://get.rvm.io | bash -s stable
12
+rvm install 1.9.3
13
+
14
+# Install rails
15
+gem install rails -v 3.2.13
16
+
17
+# Install node version manager
18
+
19
+# Install youtube-dl
20
+sudo curl https://yt-dl.org/downloads/2013.09.24.2/youtube-dl -o /usr/local/bin/youtube-dl
21
+sudo chmod a+x /usr/local/bin/youtube-dl
22
+
23
+# Install ImageMagick
24
+brew install pkgconfig
25
+brew install imagemagick
26
+
27
+# install NVM
28
+git clone git://github.com/creationix/nvm.git ~/.nvm
29
+source ~/.nvm/nvm.sh
30
+echo "source ~/.nvm/nvm.sh" >> ~/.bashrc
31
+nvm install v0.8.5
32
+nvm alias default v0.8.5
33
+
34
+echo "[[ -s ~/.bashrc ]] && source ~/.bashrc" >>

+ 1 - 1
makesymlinks.sh

@@ -56,4 +56,4 @@ else
56 56
 fi
57 57
 }
58 58
 
59
-# install_zsh
59
+install_zsh

+ 7 - 0
readme.md

@@ -0,0 +1,7 @@
1
+# James Peret's DotFiles
2
+
3
+### Installation
4
+
5
+1. Install xCode
6
+2. Install MacPorts
7
+3. `sh install.sh`

+ 3 - 5
zshrc

@@ -15,7 +15,7 @@ ZSH_THEME="clean"
15 15
 # CASE_SENSITIVE="true"
16 16
 
17 17
 # Comment this out to disable bi-weekly auto-update checks
18
-# DISABLE_AUTO_UPDATE="true"
18
+DISABLE_AUTO_UPDATE="true"
19 19
 
20 20
 # Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
21 21
 # export UPDATE_ZSH_DAYS=13
@@ -36,10 +36,6 @@ plugins=(git)
36 36
 
37 37
 source $ZSH/oh-my-zsh.sh
38 38
 
39
-
40
-
41
-# My Old Shell
42
-
43 39
 # TextMate
44 40
 export TEXTMATE_PATH=/Applications/TextMate.app/Contents/Resources/mate
45 41
 mate () {
@@ -55,3 +51,5 @@ if [ -f ~/.bash_aliases ]; then
55 51
 . ~/.bash_aliases
56 52
 fi
57 53
 
54
+[[ -s ~/.bashrc ]] && source ~/.bashrc
55
+