Skip to content

Commit

Permalink
Use ZSH for Vagrant shell
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Oct 30, 2016
1 parent 01caab4 commit 53d6c88
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@

set -e

export SWIFT_VERSION="swift-3.0"

sudo apt-get update
sudo apt-get install -y git clang libicu-dev
sudo apt-get install -y git zsh clang libicu-dev

export SWIFT_VERSION="swift-3.0"
sudo chsh -s /bin/zsh vagrant

eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
echo 'export SWIFTENV_ROOT="$HOME/.swiftenv"' >> ~/.zshrc
echo 'export PATH="$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH"' >> ~/.zshrc

echo 'export SWIFTENV_ROOT="$HOME/.swiftenv"' >> .profile
echo 'export PATH="$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH"' >> .profile
eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"

0 comments on commit 53d6c88

Please sign in to comment.