aboutsummaryrefslogtreecommitdiff
path: root/test-vm/omz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-vm/omz.sh')
-rw-r--r--test-vm/omz.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-vm/omz.sh b/test-vm/omz.sh
index aeb5f897..eead4905 100644
--- a/test-vm/omz.sh
+++ b/test-vm/omz.sh
@@ -3,7 +3,7 @@
NEW_USER=vagrant-omz
# Create User
PASSWORD='$6$OgLg9v2Z$Db38Jr9inZG7y8BzL8kqFK23fF5jZ7FU1oiIBLFjNYR9XVX03fwQayMgA6Rm1rzLbXaf.gkZaTWhB9pv5XLq11'
-sudo useradd -p $PASSWORD -g vagrant -s $(which zsh) -m $NEW_USER
+useradd -p $PASSWORD -g vagrant -s $(which zsh) -m $NEW_USER
echo "$NEW_USER ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$NEW_USER
chmod 440 /etc/sudoers.d/$NEW_USER
@@ -16,8 +16,8 @@ chmod 440 /etc/sudoers.d/$NEW_USER
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
- cd ~/.oh-my-zsh/custom
- git clone https://github.com/bhilburn/powerlevel9k.git themes/powerlevel9k
+ mkdir -p ~/.oh-my-zsh/custom/themes
+ ln -s /vagrant_data ~/.oh-my-zsh/custom/themes/powerlevel9k
echo '
export ZSH=$HOME/.oh-my-zsh