Error message in Terminal

The default interactive shell is now zsh.


To update your account to use zsh, please run `chsh -s /bin/zsh`.


For more details, please visit https://support.apple.com/kb/HT208050.


Why am I getting this message? and how can I fix it without damaging my computer or main login profile?

MacBook Pro Retina

Posted on Oct 11, 2019 8:40 PM

Reply
30 replies

Oct 17, 2019 10:29 AM in response to AGOFLS

The Zsh shell does not read your prior Bash dot files when you open a Terminal, so almost nothing is getting setup. Here is my ~/.zshrc file contents:


# .zshrc
export PATH=".:$HOME/bin:/usr/local/bin:$PATH"
export MANPATH=".:/user/local/share/man:/usr/share/man:$MANPATH"
TPUT="/usr/bin/tput"
Bluebld="$(${TPUT} bold; ${TPUT} setaf 63)"
White="$(${TPUT} bold; ${TPUT} setaf 15)"
Green="$(${TPUT} bold; ${TPUT} setaf 42)"
Normal="$(${TPUT} sgr0)"
# don't want VPN DNS changing my hostname
MyHost="$(networksetup -getcomputername)"
export CLICOLOR=1
# [e]grep matches are quite yellow
export GREP_COLOR='00;38;5;226'
export GREP_OPTIONS='--color=auto --extended-regexp'
export LSCOLORS='gxfxcxdxbxegedabagacad'
export HOMEBREW_NO_ANALYTICS=1
PS1="${Green}${MyHost}: %~ %% ${White}"
# command-line editing using vi/vim
bindkey -v


The Zsh home site is here,

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error message in Terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.