Skip to content

Commit

Permalink
Merge pull request #7 from dudoslav/master
Browse files Browse the repository at this point in the history
Fix install.sh
using single-quotes does not expand `~` . The script then attempted to install the colorscheme to `~/.vimrc`, using folder called `~` inside the current folder instead of user's `$HOME`.
  • Loading branch information
tomsik68 authored Dec 3, 2016
2 parents df65732 + 1051a41 commit 2bb8c47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

VIMRCPATH='~/.vimrc'
if [ -f '~/.vim/vimrc' ]; then VIMRCPATH='~/.vim/vimrc'; fi
VIMRCPATH=~/.vimrc
if [ -f ~/.vim/vimrc ]; then VIMRCPATH=~/.vim/vimrc; fi
echo found vimrc in $VIMRCPATH
mkdir -p ~/.vim/colors/
cp colors/Crystallite.vim ~/.vim/colors/
Expand Down

0 comments on commit 2bb8c47

Please sign in to comment.