aboutsummaryrefslogtreecommitdiff
path: root/test-vm
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-07-07 21:08:06 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-07-07 21:08:06 +0300
commitc35a1c3f45ffaf52cd69c8100cdf044c2eec26db (patch)
treee9d6adaf0a6e4c7b33647dcf7fb2e0ae366a21d8 /test-vm
parent686b351adb1b46693da67d78d3bc8a8cf9609721 (diff)
Fixed oh-my-zsh test installation.
Diffstat (limited to 'test-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
)