1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Merge pull request #44 from dritter/dritter/vagrant-vm

Fixed oh-my-zsh test installation in vagrant VM.
This commit is contained in:
Ben Hilburn 2015-07-08 18:45:22 -07:00
commit c4cac7eaa8

View file

@ -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
)