From b21e574d3cd233bad24180baa1164e30fd8d4f6b Mon Sep 17 00:00:00 2001 From: linsilence Date: Fri, 14 Jun 2019 15:03:14 +0800 Subject: [PATCH] readme add issues --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 213193c35..b21068118 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,19 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/snakewarhead/oh-my-zsh/master/tools/install.sh)" ``` +## Issues + +[Can't set zsh as default shell](https://github.com/robbyrussell/oh-my-zsh/issues/5401#issuecomment-250828518) + +add code to `.bashrc` file to automatically start zsh: + +```bash +if [[ $- == *i* ]]; then + export SHELL=zsh + zsh -l +fi +``` + ---