Skip to content

Instantly share code, notes, and snippets.

@mmeyer2k
Last active June 23, 2022 09:34
Show Gist options
  • Save mmeyer2k/b60b67c3f956d9524af62a91686be553 to your computer and use it in GitHub Desktop.
Save mmeyer2k/b60b67c3f956d9524af62a91686be553 to your computer and use it in GitHub Desktop.
Add zsh to on vagrant provision
config.vm.provision "shell" do |s|
s.name = "Install oh-my-zsh"
s.privileged = false
s.inline = <<-SHELL
sudo apt install -y zsh
wget -O ~/.zshrc https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/templates/zshrc.zsh-template
sudo chsh -s /bin/zsh vagrant
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment