#!/bin/sh

brew install zsh
touch ~/.zshrc
echo "#PATHの設定" >> ~/.zshrc 
echo "export PATH=/anaconda3/bin:$PATH" >> ~/.zshrc
echo "#コマンドの履歴の保管場所などの設定" >> ~/.zshrc
echo "export HISTFILE=${HOME}/.zsh_history" >> ~/.zshrc
echo "export HISTSIZE=10000" >> ~/.zshrc
echo "export SAVEHIST=1000000" >> ~/.zshrc
echo '#echo "autoload -U compinit; compinit"' >> ~/.zshrc
chsh -s /bin/zsh
source ~/.zshrc
