This is an old revision of the document!
Mostly copied from https://scriptingosx.com/2019/06/moving-to-zsh-part-3-shell-options/
Put into ~/.zshrc
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %K{81}%B%~ %#%b%K{default} '
(See also https://unix.stackexchange.com/a/111777/7286)
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
setopt EXTENDED_HISTORY
SAVEHIST=5000
HISTSIZE=2000
# share history across multiple zsh sessions
setopt SHARE_HISTORY
# append to history
setopt APPEND_HISTORY
# adds commands as they are typed, not at shell exit
setopt INC_APPEND_HISTORY
# expire duplicates first
setopt HIST_EXPIRE_DUPS_FIRST
# do not store duplications
setopt HIST_IGNORE_DUPS
#ignore duplicates when searching
setopt HIST_FIND_NO_DUPS
# removes blank lines from history
setopt HIST_REDUCE_BLANKS
alias history='fc -l -i 1'
setopt NO_CASE_GLOB setopt GLOB_COMPLETE
Also try this? (https://superuser.com/questions/187639/zsh-not-hitting-profile) :
[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'