为什么每次打开终端时都会收到此消息?

时间:2021-03-19 15:29:23

标签: macos terminal

每次打开终端时都会看到以下消息:

/etc/zshrc:7: command not found: locale

这是文件 /etc/zshrc 中的前 7 行:

# System-wide profile for interactive zsh(1) shells.

# Setup user specific overrides for this in ~/.zshrc. See zshbuiltins(1)
# and zshoptions(1) for more details.

# Correctly display UTF-8 with combining characters.
if [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
    setopt COMBINING_CHARS
fi

应该向这个文件添加什么来解决这个问题?

0 个答案:

没有答案