mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50: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:
commit
c4cac7eaa8
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue