Instructions for how to run zsh and Oh My ZSH in a local site using Local by Flywheel:
run one-single command to install zsh + Oh My Zsh, try the following (it’s the commands above but concatenated and slightly modified to allow for a one-liner). Step #1 is still required.
Right-click on the site and go to “Open Site SSH”
Run:
apt-get update && apt-get install -y zsh git wget && (echo 'zsh' >> ~/.bashrc) && (wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh); (echo 'alias wp="wp --allow-root"' >> ~/.zshrc); zsh
If you’d like to break apart each step you could…
- Right-click on the site and go to “Open Site SSH”
- Run:
apt-get update
- Run:
apt-get install -y zsh git wget
- Run:
echo 'zsh' >> ~/.bashrc
- Run:
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Run:
echo 'alias wp="wp --allow-root"' >> ~/.zshrc
- Run:
zsh
Source: http://local.getflywheel.com/community/t/using-terminal-with-zsh-shell/2041/3?u=johndcoy