Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
m.malkin committed Sep 23, 2016
1 parent 8a8a909 commit 902f45d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
19 changes: 13 additions & 6 deletions install/install.sh
Expand Up @@ -8,22 +8,29 @@ brew tap Homebrew/bundle
# oh-my-zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

[ -f ~/.zshrc.pre-oh-my-zsh ] && cat ~/.zshrc.pre-oh-my-zsh >> ~/.zsh_local

# vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall

# link dotfiles
rcup -U .oh-my-zsh/custom/plugins/pj -U scripts -U bin -x install

# rbenv
RBENV_PATH=~/.rbenv
export PATH=$RBENV_PATH/bin:$PATH

git clone https://github.com/sstephenson/rbenv.git $RBENV_PATH
git clone https://github.com/sstephenson/ruby-build.git $RBENV_PATH/plugins/ruby-build

$RBENV_PATH/bin/rbenv install 2.3.1
$RBENV_PATH/bin/rbenv global 2.3.1
$RBENV_PATH/bin/gem install bundler pry awesome_print
eval "$(rbenv init -)"

# link dotfiles
rcup -U .oh-my-zsh/custom/plugins/pj -U scripts -U bin -x install
rbenv install 2.3.1
rbenv global 2.3.1
gem install bundler pry awesome_print

# .zsh_local
echo 'export PROJECTS=$HOME/projects' > ~/.zsh_local
mkdir -p $HOME/projects
echo 'export PROJECTS=$HOME/projects' >> ~/.zsh_local

3 changes: 1 addition & 2 deletions zshrc
Expand Up @@ -80,7 +80,6 @@ export FZF_CTRL_T_COMMAND="command find -L . \\( -path './\\.*' -o -fstype 'dev'
-o -type d -print \
-o -type l -print 2> /dev/null | sed 1d | cut -b3-"

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

source ~/.zsh_local

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

0 comments on commit 902f45d

Please sign in to comment.