summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-07-09 04:45:22 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-07-09 04:45:22 +0300
commitc4cac7eaa842b3b8600bfb791135b50d141523f7 (patch)
treee9d6adaf0a6e4c7b33647dcf7fb2e0ae366a21d8
parent686b351adb1b46693da67d78d3bc8a8cf9609721 (diff)
parentc35a1c3f45ffaf52cd69c8100cdf044c2eec26db (diff)
Merge pull request #44 from dritter/dritter/vagrant-vm
Fixed oh-my-zsh test installation in vagrant VM.
-rw-r--r--test-vm/omz.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/test-vm/omz.sh b/test-vm/omz.sh
index eead4905..953f5c8f 100644
--- a/test-vm/omz.sh
+++ b/test-vm/omz.sh
@@ -13,18 +13,19 @@ chmod 440 /etc/sudoers.d/$NEW_USER
#UID=$(id -u $NEW_USER)
#EUID=$(id -u $NEW_USER)
HOME=/home/$NEW_USER
+ SHELL=$(which zsh)
- curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
+ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mkdir -p ~/.oh-my-zsh/custom/themes
ln -s /vagrant_data ~/.oh-my-zsh/custom/themes/powerlevel9k
echo '
export ZSH=$HOME/.oh-my-zsh
-plugins=(git bundler osx rake ruby)
ZSH_THEME="powerlevel9k/powerlevel9k"
+plugins=(git rake ruby)
source $ZSH/oh-my-zsh.sh
-' > ~/.zshrc
+' > $HOME/.zshrc
)