Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
barretlee committed Apr 14, 2016
1 parent 7b0ecae commit b1d329a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ __bash code__
#!/bin/bash
# @author Barret Lee<barret.china@gmail.com>

[[ -d ~/.vim ]] || mkdir ~/.vim;

# tmp dir
[[ -d ~/v-tmp ]] || mkdir ~/v-tmp;

Expand All @@ -51,7 +53,7 @@ mv ~/v-tmp/autoconfig-mac-vimrc/.vimrc ~/.vimrc;
# colors schemes
cd ~/v-tmp;
[[ -d ~/v-tmp/vim-colorschemes ]] || git clone https://github.com/flazz/vim-colorschemes.git;
[[ -d ~/.vim/colors ]] || mv ~/v-tmp/colors ~/.vim/;
[[ -d ~/.vim/colors ]] || mv ~/v-tmp/vim-colorschemes/colors ~/.vim/;

# fonts for airline
cd ~/v-tmp;
Expand Down
2 changes: 2 additions & 0 deletions install
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
# @author Barret Lee<barret.china@gmail.com>

[[ -d ~/.vim ]] || mkdir ~/.vim;

# tmp dir
[[ -d ~/v-tmp ]] || mkdir ~/v-tmp;

Expand Down

0 comments on commit b1d329a

Please sign in to comment.