It makes no sense, to clone the powerlevel9k-theme in all frameworks. Instead, we can simply use the one, which is mounted in /vagrant_data..

This commit is contained in:
Dominik Ritter 2015-06-11 00:58:46 +02:00
commit 3e13603557
5 changed files with 10 additions and 15 deletions

View file

@ -3,7 +3,7 @@
NEW_USER=vagrant-antigen
# 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,7 +16,7 @@ chmod 440 /etc/sudoers.d/$NEW_USER
echo "
source ~/antigen/antigen.zsh\n
antigen theme bhilburn/powerlevel9k powerlevel9k\n
antigen theme /vagrant_data powerlevel9k --no-local-clone\n
antigen apply
" > ~/.zshrc